aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions/sync-tunnel.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish2024/functions/sync-tunnel.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish2024/functions/sync-tunnel.fish b/fish2024/functions/sync-tunnel.fish
new file mode 100644
index 0000000..ff17ee5
--- /dev/null
+++ b/fish2024/functions/sync-tunnel.fish
@@ -0,0 +1,4 @@
+function sync-tunnel --wraps='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net' --description 'alias sync-tunnel=ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net'
+ ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net $argv
+
+end