1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

took advantage of tmux 1.8 blocking 'if-shell' to detect 'reattach-to-user-namespace'

This commit is contained in:
Gregory Pakosz 2013-08-28 08:57:33 +02:00
parent abb7a1b70a
commit 2204f4380b

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' bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
# see https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard # 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 ------------------------------------------------------------------- # -- display -------------------------------------------------------------------