From 49c947baa5e5961f83747a5275d7bc47f8b28cc1 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Thu, 22 Aug 2013 18:16:31 +0200 Subject: [PATCH] fixed default-command 'reattach-to-user-namespace' detection --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 98a1a94..0a31b74 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 "type -p reattach-to-user-namespace &>/dev/null && reattach-to-user-namespace -l $SHELL || $SHELL -l" +set -g default-command '$(command -v reattach-to-user-namespace && echo '-l') $SHELL' # -- display -------------------------------------------------------------------