fixed default-command 'reattach-to-user-namespace' detection
This commit is contained in:
parent
4442ebff3e
commit
49c947baa5
1 changed files with 1 additions and 1 deletions
|
@ -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 "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 -------------------------------------------------------------------
|
# -- display -------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue