From 3ada24972573feb4e84d801f4b566d4e170d9ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Barrag=C3=A1n?= Date: Fri, 7 Apr 2017 17:04:02 -0700 Subject: [PATCH] Display forder name on tmux's window's tab --- tmux/tmux.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 65df2872..4bf8a956 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -56,8 +56,9 @@ set -g message-fg colour16 set -g message-bg colour221 set -g message-attr bold set -g status-left '#[fg=colour235,bg=colour252,bold] ❐ #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]⮀' -set -g window-status-format "#[fg=colour235,bg=colour252,bold] #I #W " -set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #{?window_zoomed_flag,#[fg=colour226],} #I: #W #[fg=colour39,bg=colour234,nobold]⮀" +set -g window-status-format '#[fg=colour235,bg=colour252,bold] #I #(pwd="#{pane_current_path}"; echo ${pwd####*/}) #W ' +set -g window-status-current-format '#[fg=colour234,bg=colour39]⮀#[fg=black,bg=colour39,noreverse,bold] #{?window_zoomed_flag,#[fg=colour228],} #I #(pwd="#{pane_current_path}"; echo ${pwd####*/}) #W #[fg=colour39,bg=colour234,nobold]⮀' +set-option -g status-interval 2 # Patch for OS X pbpaste and pbcopy under tmux. set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"