Append to update-environment list.
[profile.git] / .tmux.conf
index 4e5fda4..2701393 100644 (file)
@@ -10,7 +10,7 @@ set -g status-keys vi
 set -s escape-time 100
 
 # Ensure KRB5CCNAME is preserved in the environment.
-set -g update-environment 'DISPLAY WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION KRB5CCNAME'
+set -a -g update-environment ' KRB5CCNAME'
 
 # Clock.
 setw -g clock-mode-colour white
@@ -60,7 +60,7 @@ bind = display-panes
 # Move the current pane into a separate window.
 bind b break-pane
 # Split another pane into this window.
-bind B command-prompt -p "Select [<window>.]<pane> to join:" 'join-pane -t %1'
+bind B command-prompt -p "Select [<window>.]<pane> to join:" 'join-pane -s %1'
 # Next pane.
 bind i select-pane -t :.+
 bind C-i select-pane -t :.+
@@ -149,7 +149,7 @@ setw -g window-status-current-bg colour17
 setw -g window-status-current-fg white
 # No border.
 set -g status-left ''
-set -g status-right ''
+set -g status-right '#[fg=white,bg=colour8][#H:#S]'
 # Window flags.
 setw -g window-status-current-format '[#I.#P#F #W]'
 setw -g window-status-format ' #I.#P#F #W '