diff --git a/.tmux.conf b/.tmux.conf index 2608a36..44de80f 100644 --- a/.tmux.conf +++ b/.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