[fix] Some mac/linux sharing issue with fish configs
This commit is contained in:
1
config/fish/conf.d/abbr.fish
Normal file
1
config/fish/conf.d/abbr.fish
Normal file
@@ -0,0 +1 @@
|
||||
abbr t '$HOME/.config/tmux/start-tmux'
|
||||
@@ -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_sl:exa
|
||||
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_wget:curl\x20\x2dO
|
||||
SETUVAR _fish_abbr_zc:fd\x20\x7c\x20xargs\x20zip
|
||||
|
||||
@@ -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