aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions/sync-tunnel.fish
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-03-05 10:48:40 +0000
committerMatthew Lemon <y@yulqen.org>2024-03-05 10:48:40 +0000
commitb28df6379a14c5bfb11c1ccee22e1e1996972475 (patch)
tree9f2c2c297ca141a3ae0bfdd5a644b24284d77d7f /fish2024/functions/sync-tunnel.fish
parenta6dda97b8f788537459c74e0f5ae2f7efc387885 (diff)
Adding some much missed fish aliai
Diffstat (limited to 'fish2024/functions/sync-tunnel.fish')
-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