# This is a test function ssh -d "SSH but with kitty integration" # If fish is run inside a kitty terminal then use the kitten command integration. if [ "$TERM" = "xterm-kitty" ] kitten ssh $argv else # Otherwise, just use the default ssh command. set -l sshBin $(type --no-functions --path ssh) $sshBin $argv end end