Is there a way to update pwd in tmux status, instead of showing it in PS1?
set -g status-left "#(pwd)"
set -g status-interval 1
set -g status-left '#(pwd)' does set the pwd for me but it looks like that is a separate shell to the sessions you have open so always remains in /home/$user
set -g status-left '#(pwd)'
You can set -g set-titles-string '#(pwd)' and that will follow your sessions.
set -g set-titles-string '#(pwd)'
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago
7 months ago