feat(shell): panes start fish via default-command

This commit is contained in:
root committed 2026-11-02 11:04:38 -05:00
1 parent c57c8f1579
commit 1ec8d6aff3
1 file changed
+5
+5
View File
@@ -96,6 +96,11 @@ bind -N "Previous session" -n M-Up switch-client -p
bind -N "Next session" -n M-Down switch-client -n
# General
# Panes run fish, the primary interactive shell, while the login shell (and so
# tmux's default-shell, which runs this and every run-shell/#() job) stays
# bash. Falls back to the login shell where fish is missing (kitty's ssh kitten
# copies this config to remote hosts). The line parses in sh and fish alike.
set -g default-command 'command -v fish >/dev/null 2>&1 && exec fish -l || exec "$SHELL" -l'
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",*:RGB"
set -g mouse on