From aac6a54ff16dc09c3e65ed7a947eab53c4c265a3 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Sat, 12 Oct 2013 00:02:10 +0200 Subject: [PATCH] tmux 1.8 'if-shell' still races with the implicit 'new-session' command --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 6304eb1..34d3e5a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -29,7 +29,7 @@ bind e new-window -n '~/.tmux.conf' '${EDITOR:-vim} ~/.tmux.conf && tmux source bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced' # see https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard -if 'command -v reattach-to-user-namespace' 'set -g default-command "reattach-to-user-namespace -l $SHELL"' +set -g default-command "initializing() { $(command -v reattach-to-user-namespace && echo '-l') $SHELL; }; initializing" # -- display -------------------------------------------------------------------