Skip to content

Commit

Permalink
Work around tmux-sensible not setting default-command correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
von committed Oct 31, 2024
1 parent b2f3d83 commit 4203fcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions home/dot_tmux/tmux.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -436,3 +436,9 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'sainnhe/tmux-fzf'

run '~/.tmux-plugins/tpm/tpm'

# XXX run-shell is now setting $SHELL so that tmux-sensible does not set
# default-command correctly with the right shell. Hence we now
# overwrite the value.
# See: https://github.com/tmux-plugins/tpm/issues/295
set -g default-command "reattach-to-user-namespace $SHELL"

0 comments on commit 4203fcc

Please sign in to comment.