fix(aliases): kitty command was not recognized on debian/ubuntu

This commit is contained in:
Jiří Štefka 2023-11-10 15:49:09 +01:00
parent 02154c4e05
commit f1f986fece
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -97,12 +97,12 @@ alias sshc='ssh-connect'
# Kitty binds # Kitty binds
if [ "$TERM" = "xterm-kitty" ]; then if [ "$TERM" = "xterm-kitty" ]; then
alias ssh="kitten ssh" alias ssh="kitty +kitten ssh"
alias icat="kitten icat" alias icat="kitty +kitten icat"
alias d="kitten diff" alias d="kitty +kitten diff"
alias get="kitten transfer" alias get="kitty +kitten transfer"
alias put="kitten transfer --direction=upload" alias put="kitty +kitten transfer --direction=upload"
alias kclip="kitten clipboard" alias kclip="kitty +kitten clipboard"
fi fi
if command -v lsd &> /dev/null if command -v lsd &> /dev/null