I'm using Fish and byobu in Fedora with GNOME-Terminal. I didn't ask Fish to change the terminal title.
cat ~/.config/byobu/profile.tmux source $BYOBU_PREFIX/share/byobu/profiles/tmux set -g status-right '#(gitmux -cfg ~/.config/byobu/gitmux.conf) #{pane_current_path}' set-option -g status-interval 1 set-option -g set-titles on set-option -g set-titles-string '#{?#{==:#{host},localhost},#{host_short} -:,}#{pane_current_path}#{pane_current_path}' set allow-rename off set-option -g allow-rename off
When I cd
some directory, it will briefly change the terminal title as expected before changing it to /home/psychoslave
, whatever the actual path is. However as soon as I run a program, say yes
, the title will go back to the right current path.
What might I tweak to always display the directory of the current Tmux pane in the terminal title?