aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-18 16:02:22 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-18 16:02:22 +0100
commite068be40b9699131c60b743f6af4de103226c9c3 (patch)
tree79b0b073f495c3fc971a2d9d133b6a980bbef86d /fish2024/functions
parentaf968405d8e34d4aa91b828b90bf919cff7d1981 (diff)
bunch of fish stuff
Diffstat (limited to 'fish2024/functions')
-rw-r--r--fish2024/functions/bglist.fish4
-rw-r--r--fish2024/functions/ll.fish4
-rw-r--r--fish2024/functions/mountmusic.fish4
-rw-r--r--fish2024/functions/xi.fish4
-rw-r--r--fish2024/functions/xq.fish4
5 files changed, 20 insertions, 0 deletions
diff --git a/fish2024/functions/bglist.fish b/fish2024/functions/bglist.fish
new file mode 100644
index 0000000..1c5d20c
--- /dev/null
+++ b/fish2024/functions/bglist.fish
@@ -0,0 +1,4 @@
+function bglist --wraps='borg list ssh://u423613@u423613.your-storagebox.de:23/./backups/matt_desktop' --description 'alias bglist borg list ssh://u423613@u423613.your-storagebox.de:23/./backups/matt_desktop'
+ borg list ssh://u423613@u423613.your-storagebox.de:23/./backups/matt_desktop $argv
+
+end
diff --git a/fish2024/functions/ll.fish b/fish2024/functions/ll.fish
new file mode 100644
index 0000000..e14aeea
--- /dev/null
+++ b/fish2024/functions/ll.fish
@@ -0,0 +1,4 @@
+function ll --wraps='ls -larth' --description 'alias ll=ls -larth'
+ ls -larth $argv
+
+end
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
diff --git a/fish2024/functions/xi.fish b/fish2024/functions/xi.fish
new file mode 100644
index 0000000..9a1f668
--- /dev/null
+++ b/fish2024/functions/xi.fish
@@ -0,0 +1,4 @@
+function xi --wraps='sudo xbps-install' --description 'alias xi=sudo xbps-install'
+ sudo xbps-install $argv
+
+end
diff --git a/fish2024/functions/xq.fish b/fish2024/functions/xq.fish
new file mode 100644
index 0000000..1be89e8
--- /dev/null
+++ b/fish2024/functions/xq.fish
@@ -0,0 +1,4 @@
+function xq --wraps='xbps-query -Rs ' --wraps='xbps-query -Rs' --description 'alias xq xbps-query -Rs'
+ xbps-query -Rs $argv
+
+end