aboutsummaryrefslogtreecommitdiff
path: root/fish/functions
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions')
-rw-r--r--fish/functions/ssh.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/functions/ssh.fish b/fish/functions/ssh.fish
new file mode 100644
index 0000000..36f4315
--- /dev/null
+++ b/fish/functions/ssh.fish
@@ -0,0 +1,7 @@
+function ssh --description 'ssh(1) wrapper for convenience when using kitty'
+ if test $TERM = "xterm-kitty"
+ command kitten ssh $argv
+ end
+
+ command ssh $argv
+end