fixed default-command when using fish shell, fixes #46
This commit is contained in:
parent
37586cdd60
commit
ba20476af6
1 changed files with 8 additions and 1 deletions
|
@ -1013,7 +1013,14 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# # see https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
# # see https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
||||||
# if command -v reattach-to-user-namespace > /dev/null 2>&1; then
|
# if command -v reattach-to-user-namespace > /dev/null 2>&1; then
|
||||||
# default_shell="$(tmux show -gv default-shell)"
|
# default_shell="$(tmux show -gv default-shell)"
|
||||||
# tmux set -g default-command "exec $default_shell... 2> /dev/null & reattach-to-user-namespace $default_shell -l"
|
# case "$default_shell" in
|
||||||
|
# *fish)
|
||||||
|
# tmux set -g default-command "reattach-to-user-namespace -l $default_shell"
|
||||||
|
# ;;
|
||||||
|
# *sh)
|
||||||
|
# tmux set -g default-command "exec $default_shell... 2> /dev/null & reattach-to-user-namespace -l $default_shell"
|
||||||
|
# ;;
|
||||||
|
# esac
|
||||||
# fi
|
# fi
|
||||||
#
|
#
|
||||||
# _apply_overrides
|
# _apply_overrides
|
||||||
|
|
Loading…
Reference in a new issue