If I'm in a screen session and I run screen
from the terminal, a new window opens up in the same directory as the previous window. However if I bind the screen
command to a keybind, like this bindkey "^[[1;5A" screen
, using the keybind results in a new window in the home directory instead of the current directory.
First of all, why is it like this?
Second, how do i open up a new window in the current directory through a keybind? I've read this answer but that wouldn't work, since it prints to the console and can't therefor be used while another program is running, ex webpack.
0 Answers