feat: fish config: migrate alias to functions & alter themes loading
This commit is contained in:
parent
50509d4b92
commit
4dc09b3d11
5 changed files with 44 additions and 17 deletions
9
home/private_dot_config/private_fish/functions/ssh.fish
Normal file
9
home/private_dot_config/private_fish/functions/ssh.fish
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue