From 8d1e393d410298377e6307ff629da98925f50897 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 21 Mar 2026 01:57:41 +0100 Subject: fix: kitty detection in ssh --- functions/ssh.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions') 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. -- cgit v1.3-2-g11bf