tmux 1.8 'if-shell' still races with the implicit 'new-session' command

This commit is contained in:
Gregory Pakosz 2013-10-12 00:02:10 +02:00
parent f774b98577
commit aac6a54ff1
1 changed files with 1 additions and 1 deletions

View File

@ -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 -------------------------------------------------------------------