aboutsummaryrefslogtreecommitdiffstats
path: root/fish/.local/bin/fissh
diff options
context:
space:
mode:
Diffstat (limited to 'fish/.local/bin/fissh')
-rwxr-xr-xfish/.local/bin/fissh2
1 files changed, 2 insertions, 0 deletions
diff --git a/fish/.local/bin/fissh b/fish/.local/bin/fissh
new file mode 100755
index 0000000..b5729e6
--- /dev/null
+++ b/fish/.local/bin/fissh
@@ -0,0 +1,2 @@
+#!/bin/sh
+ssh "$@" -t "sh -c 'if which fish >/dev/null ; then exec fish -li; else exec \$SHELL -li; fi'"