From 270d84500f4f7c844435dcef81b138ad7281e084 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 17 Dec 2024 10:14:11 +0100 Subject: Remove integration of kitty to ssh --- functions/ssh.fish | 12 ------------ functions/sshk.fish | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 functions/ssh.fish create mode 100644 functions/sshk.fish (limited to 'functions') diff --git a/functions/ssh.fish b/functions/ssh.fish deleted file mode 100644 index 4eb261a..0000000 --- a/functions/ssh.fish +++ /dev/null @@ -1,12 +0,0 @@ -# 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 diff --git a/functions/sshk.fish b/functions/sshk.fish new file mode 100644 index 0000000..4eb261a --- /dev/null +++ b/functions/sshk.fish @@ -0,0 +1,12 @@ +# 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 -- cgit v1.3-2-g11bf