From 7317eb905bd0966237ea3131f3d81c21244b83b1 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 8 Jan 2025 08:51:13 +0000 Subject: Adds fish funcs for jrnl, borg and xterm --- fish2025/functions/bglist.fish | 4 ++++ fish2025/functions/jrnl.fish | 4 ++++ fish2025/functions/xterm-cascadia-gainsboro.fish | 4 ++++ fish2025/functions/xterm-cascadia-goldenrod.fish | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 fish2025/functions/bglist.fish create mode 100644 fish2025/functions/jrnl.fish create mode 100644 fish2025/functions/xterm-cascadia-gainsboro.fish create mode 100644 fish2025/functions/xterm-cascadia-goldenrod.fish 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/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/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 -- cgit v1.2.3