[fix] Use system dependent abbreviations

This commit is contained in:
Uttarayan
2023-03-26 17:32:20 +05:30
parent 2eef9ac114
commit 291dcb255e
2 changed files with 32 additions and 21 deletions

View File

@@ -1 +1,33 @@
abbr t '$HOME/.config/tmux/start-tmux'
if uname | grep -q Darwin
abbr find gfind
abbr sed gsed
end
if type -q nvim
abbr vim nvim
abbr v nvim
end
if type -q bat
abbr cat bat
end
if type -q exa
abbr ls exa
abbr ll exa -l
abbr la exa -la
end
if type -q zoxide
abbr cd z
end
if type -q git
abbr g git
abbr gp git push
abbr gpu git pull
end
if type -q evcxr
abbr reru evcxr
end
if not type -q wget
abbr wget curl -O
end

View File

@@ -3,27 +3,6 @@
SETUVAR AFTERSHOOT_LOG:desktop_rust_backend\x3dtrace
SETUVAR BW_SESSION:lW6\x2bALLBSowAJgVMgqI6sSMqku9z/192K\x2bDNX0jF2WlzRGhBtKGlUAqXJgbWKTw/cDKU2MRO5Z/6aQPi6fkA6Q\x3d\x3d
SETUVAR __fish_initialized:3400
SETUVAR _fish_abbr_cat:bat
SETUVAR _fish_abbr_cd:z
SETUVAR _fish_abbr_find:gfind
SETUVAR _fish_abbr_gcv:git\x20commit\x20\x2dva
SETUVAR _fish_abbr_gp:git\x20push
SETUVAR _fish_abbr_gpr:git\x20pull\x20\x2d\x2drebase
SETUVAR _fish_abbr_gpu:git\x20pull
SETUVAR _fish_abbr_j:joshuto
SETUVAR _fish_abbr_l1:exa\x20\x2d1
SETUVAR _fish_abbr_ll:exa\x20\x2dal
SETUVAR _fish_abbr_ls:exa
SETUVAR _fish_abbr_m:neomutt
SETUVAR _fish_abbr_news:newsboat
SETUVAR _fish_abbr_o:open
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_v:nvim
SETUVAR _fish_abbr_wget:curl\x20\x2dO
SETUVAR _fish_abbr_zc:fd\x20\x7c\x20xargs\x20zip
SETUVAR _fisher_jorgebucaran_2F_fisher_files:/Users/fs0c131y/\x2econfig/fish/functions/fisher\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/completions/fisher\x2efish
SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:/Users/fs0c131y/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/functions/_nvm_list\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/functions/nvm\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e/Users/fs0c131y/\x2econfig/fish/completions/nvm\x2efish
SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ejorgebucaran/nvm\x2efish