[fix] Some mac/linux sharing issue with fish configs
This commit is contained in:
@@ -18,7 +18,10 @@ set -g @plugin 'dracula/tmux'
|
||||
# load plugin manager
|
||||
run -b '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
set -g default-shell '/usr/bin/fish'
|
||||
# if on macos use /opt/homebrew/bin/fish
|
||||
if-shell "[ -f /usr/bin/fish ]" "set -g default-shell '/usr/bin/fish'"
|
||||
if-shell "[ -f /opt/homebrew/bin/fish ]" "set -g default-shell '/opt/homebrew/bin/fish'"
|
||||
|
||||
set -g default-terminal 'tmux-256color'
|
||||
set -ga terminal-overrides ',*256col*:Tc'
|
||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
|
||||
|
||||
Reference in New Issue
Block a user