Append to update-environment list.
[profile.git] / .tmux.conf
index 8de9f0f..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 :.+