Make tmux display current directory before pane name
This commit is contained in:
parent
0c1ac3bff2
commit
9aa08fa85b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue