aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions/mountmusic.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish2024/functions/mountmusic.fish')
-rw-r--r--fish2024/functions/mountmusic.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish2024/functions/mountmusic.fish b/fish2024/functions/mountmusic.fish
new file mode 100644
index 0000000..c10f562
--- /dev/null
+++ b/fish2024/functions/mountmusic.fish
@@ -0,0 +1,4 @@
+function mountmusic --wraps='sudo sshfs -o IdentityFile=/home/lemon/.ssh/id_ed25519,default_permissions,allow_other lemon@192.168.1.10:/mnt/music /mnt/music' --description 'alias mountmusic=sudo sshfs -o IdentityFile=/home/lemon/.ssh/id_ed25519,default_permissions,allow_other lemon@192.168.1.10:/mnt/music /mnt/music'
+ sudo sshfs -o IdentityFile=/home/lemon/.ssh/id_ed25519,default_permissions,allow_other lemon@192.168.1.10:/mnt/music /mnt/music $argv
+
+end