[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

@@ -0,0 +1 @@
abbr t '$HOME/.config/tmux/start-tmux'

View File

@@ -21,7 +21,6 @@ SETUVAR _fish_abbr_reru:evcxr
SETUVAR _fish_abbr_rpc:patch\x20\x2dp0\x20\x3c\x20\x7e/\x2elocal/share/console\x2ediff SETUVAR _fish_abbr_rpc:patch\x20\x2dp0\x20\x3c\x20\x7e/\x2elocal/share/console\x2ediff
SETUVAR _fish_abbr_sl:exa SETUVAR _fish_abbr_sl:exa
SETUVAR _fish_abbr_sss:sqlite3\x20\x7e/Library/Application\x5c\x20Support/com\x2eaftershoot\x2eaftershoot/database\x2esqlite\x20\x22SELECT SETUVAR _fish_abbr_sss:sqlite3\x20\x7e/Library/Application\x5c\x20Support/com\x2eaftershoot\x2eaftershoot/database\x2esqlite\x20\x22SELECT
SETUVAR _fish_abbr_t:/home/fs0c131y/\x2econfig/tmux/start\x2dtmux
SETUVAR _fish_abbr_v:nvim SETUVAR _fish_abbr_v:nvim
SETUVAR _fish_abbr_wget:curl\x20\x2dO SETUVAR _fish_abbr_wget:curl\x20\x2dO
SETUVAR _fish_abbr_zc:fd\x20\x7c\x20xargs\x20zip SETUVAR _fish_abbr_zc:fd\x20\x7c\x20xargs\x20zip

View File

@@ -18,7 +18,10 @@ set -g @plugin 'dracula/tmux'
# load plugin manager # load plugin manager
run -b '~/.config/tmux/plugins/tpm/tpm' 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 -g default-terminal 'tmux-256color'
set -ga terminal-overrides ',*256col*:Tc' set -ga terminal-overrides ',*256col*:Tc'
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'