当我在tmux中创建多个会话时,后续会话中每个新窗口的当前目录都被设置为第一个窗口的当前目录。
例如:
-> cd /home/one && tmux new-session -n one\; new-window -n two
# /home/one is the current directory for each window
-> cd /home/two && tmux new-session -n three\; new-window -n four #\; etc.
# "/home/two" is the current directory for the window "three"
# but for the window "four" and other created windows it is "/home/one"
如何强制tmux将后续会话中每个新窗口的当前目录设置为创建会话的目录?
tmux 1.6
zsh 4.3