feat: fish config: migrate alias to functions & alter themes loading

This commit is contained in:
grassblock 2025-02-10 16:56:35 +08:00
parent 50509d4b92
commit 4dc09b3d11
5 changed files with 44 additions and 17 deletions

View file

@ -0,0 +1,9 @@
function ssh --description 'handy helper to make use of `kitten`'
if test $TERM = xterm-kitty
kitten ssh $argv
or command ssh $argv
# in case kitten unable to work in certain conditions like connecting to a openwrt.
else
command ssh $argv
end
end