From 2204f4380b2f957a0600c1415b301822cb123b89 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Wed, 28 Aug 2013 08:57:33 +0200 Subject: [PATCH] took advantage of tmux 1.8 blocking 'if-shell' to detect 'reattach-to-user-namespace' --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 98b0a40..12e2cef 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 -set -g default-command '$(command -v reattach-to-user-namespace && echo '-l') $SHELL' +if 'command -v reattach-to-user-namespace' 'set -g default-command "reattach-to-user-namespace -l $SHELL"' # -- display -------------------------------------------------------------------