Make tmux display current directory before pane name

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-08-09 11:30:41 -04:00
parent 0c1ac3bff2
commit 9aa08fa85b

View file

@ -7,11 +7,11 @@ set -g default-terminal "screen-256color"
# disable automatic window renaming # disable automatic window renaming
set-window-option -g automatic-rename on set-window-option -g automatic-rename on
set-window-option -g allow-rename off #set-window-option -g allow-rename off
# window status # window status
setw -g window-status-format "#[bg=colour241,fg=colour233] #I #W " setw -g window-status-format "#[bg=colour241,fg=colour233] #I #(basename #{pane_current_path})/#W "
setw -g window-status-current-format "#[bg=colour245,fg=colour233] #I #W " setw -g window-status-current-format "#[bg=colour245,fg=colour233] #I #(basename #{pane_current_path})/#W "
# The statusbar # The statusbar
set -g status-interval 2 set -g status-interval 2