summaryrefslogtreecommitdiff
path: root/functions/ssh.fish
diff options
context:
space:
mode:
authorache <ache@ache.one>2026-03-21 01:57:41 +0100
committerache <ache@ache.one>2026-03-21 01:57:41 +0100
commit8d1e393d410298377e6307ff629da98925f50897 (patch)
tree9b627b564a55c600d82808139e2737fa8b7ab6ea /functions/ssh.fish
parentfeat: Add two commands for omg.lol (diff)
fix: kitty detection in ssh
Diffstat (limited to 'functions/ssh.fish')
-rw-r--r--functions/ssh.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ssh.fish b/functions/ssh.fish
index 234187b..6a86085 100644
--- a/functions/ssh.fish
+++ b/functions/ssh.fish
@@ -2,7 +2,7 @@
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 -a -z KITTY_WINDO_ID ]
+ if [ "$TERM" = xterm-kitty -a -n KITTY_WINDOW_ID ]
kitten ssh $argv
else
# Otherwise, just use the default ssh command.