1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

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

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