1
0
Fork 0
mirror of synced 2024-05-26 20:11:09 -04:00

fixed default-command when using fish shell, fixes #46

This commit is contained in:
Gregory Pakosz 2016-12-21 17:56:11 +01:00
parent 37586cdd60
commit ba20476af6

View file

@ -1013,7 +1013,14 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# # see https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
# if command -v reattach-to-user-namespace > /dev/null 2>&1; then
# 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
#
# _apply_overrides