aboutsummaryrefslogtreecommitdiffstats
path: root/fish2025/functions
diff options
context:
space:
mode:
Diffstat (limited to 'fish2025/functions')
-rw-r--r--fish2025/functions/bglist.fish4
-rw-r--r--fish2025/functions/gloga.fish4
-rw-r--r--fish2025/functions/jrnl.fish4
-rw-r--r--fish2025/functions/notes.fish4
-rw-r--r--fish2025/functions/xclip.fish4
-rw-r--r--fish2025/functions/xterm-cascadia-gainsboro.fish4
-rw-r--r--fish2025/functions/xterm-cascadia-goldenrod.fish4
7 files changed, 28 insertions, 0 deletions
diff --git a/fish2025/functions/bglist.fish b/fish2025/functions/bglist.fish
new file mode 100644
index 0000000..fb03218
--- /dev/null
+++ b/fish2025/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/fish2025/functions/gloga.fish b/fish2025/functions/gloga.fish
new file mode 100644
index 0000000..98da2aa
--- /dev/null
+++ b/fish2025/functions/gloga.fish
@@ -0,0 +1,4 @@
+function gloga --wraps='git log --oneline --decorate --graph --all' --description 'alias gloga=git log --oneline --decorate --graph --all'
+ git log --oneline --decorate --graph --all $argv
+
+end
diff --git a/fish2025/functions/jrnl.fish b/fish2025/functions/jrnl.fish
new file mode 100644
index 0000000..aa21768
--- /dev/null
+++ b/fish2025/functions/jrnl.fish
@@ -0,0 +1,4 @@
+function jrnl --wraps='uv run ~/code/python/journal-tools/update_journal.py' --description 'alias jrnl=uv run ~/code/python/journal-tools/update_journal.py'
+ uv run ~/code/python/journal-tools/update_journal.py $argv
+
+end
diff --git a/fish2025/functions/notes.fish b/fish2025/functions/notes.fish
new file mode 100644
index 0000000..d6d7ec7
--- /dev/null
+++ b/fish2025/functions/notes.fish
@@ -0,0 +1,4 @@
+function notes --wraps='cd ~/Documents/Notes' --description 'alias notes=cd ~/Documents/Notes'
+ cd ~/Documents/Notes $argv
+
+end
diff --git a/fish2025/functions/xclip.fish b/fish2025/functions/xclip.fish
new file mode 100644
index 0000000..b552ec6
--- /dev/null
+++ b/fish2025/functions/xclip.fish
@@ -0,0 +1,4 @@
+function xclip --description 'alias xclip=xclip -selection c'
+ command xclip -selection c $argv
+
+end
diff --git a/fish2025/functions/xterm-cascadia-gainsboro.fish b/fish2025/functions/xterm-cascadia-gainsboro.fish
new file mode 100644
index 0000000..213f2de
--- /dev/null
+++ b/fish2025/functions/xterm-cascadia-gainsboro.fish
@@ -0,0 +1,4 @@
+function xterm-cascadia-gainsboro --wraps=xterm\ -fg\ black\ -bg\ Gainsboro\ -fa\ Cascadia\\\ Mono\ -fs\ 10 --description alias\ xterm-cascadia-gainsboro=xterm\ -fg\ black\ -bg\ Gainsboro\ -fa\ Cascadia\\\ Mono\ -fs\ 10
+ xterm -fg black -bg Gainsboro -fa Cascadia\ Mono -fs 10 $argv
+
+end
diff --git a/fish2025/functions/xterm-cascadia-goldenrod.fish b/fish2025/functions/xterm-cascadia-goldenrod.fish
new file mode 100644
index 0000000..1ea0728
--- /dev/null
+++ b/fish2025/functions/xterm-cascadia-goldenrod.fish
@@ -0,0 +1,4 @@
+function xterm-cascadia-goldenrod --wraps=xterm\ -fg\ black\ -bg\ Goldenrod\ -fa\ Cascadia\\\ Mono\ -fs\ 10 --description alias\ xterm-cascadia-goldenrod=xterm\ -fg\ black\ -bg\ Goldenrod\ -fa\ Cascadia\\\ Mono\ -fs\ 10
+ xterm -fg black -bg Goldenrod -fa Cascadia\ Mono -fs 10 $argv
+
+end