diff options
| author | ache <ache@ache.one> | 2026-03-21 01:57:41 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-03-21 01:57:41 +0100 |
| commit | 8d1e393d410298377e6307ff629da98925f50897 (patch) | |
| tree | 9b627b564a55c600d82808139e2737fa8b7ab6ea /functions | |
| parent | feat: Add two commands for omg.lol (diff) | |
fix: kitty detection in ssh
Diffstat (limited to 'functions')
| -rw-r--r-- | functions/ssh.fish | 2 |
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. |