[fix] Some mac/linux sharing issue with fish configs

This commit is contained in:
Uttarayan Mondal
2023-03-26 17:24:45 +05:30
parent f6e2d97e72
commit 2eef9ac114
3 changed files with 5 additions and 2 deletions

View File

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