Browse Source

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

my-config
Gregory Pakosz 8 years ago
parent
commit
ba20476af6
  1. 9
      .tmux.conf

9
.tmux.conf

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

Loading…
Cancel
Save