Only set up kitty aliases if kitty is installed

This commit is contained in:
ViViDboarder 2022-04-11 09:52:45 -07:00
parent 13aea2f0bb
commit b7e1a7d887

View File

@ -45,7 +45,7 @@ function ns-notify
end end
# kitty aliases # kitty aliases
if [ "$TERM" = "xterm-kitty" ] if [ "$TERM" = "xterm-kitty" ]; and type -q kitty
alias ssh="kitty +kitten ssh" alias ssh="kitty +kitten ssh"
alias imgcat="kitty +kitten icat" alias imgcat="kitty +kitten icat"
end end