diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-04 18:59:54 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-04 18:59:54 +0000 |
commit | 8ebb22ba19b069ecac25dc204d0595801343d0a6 (patch) | |
tree | ad35c937be90f7752ce1a68ea914a57b536f57d8 /fish2024/functions | |
parent | 73daaf08a0dc620237a6c8998cfff1a8781cbc50 (diff) |
Adds common task aliases from bashrc
Diffstat (limited to 'fish2024/functions')
-rw-r--r-- | fish2024/functions/thomeprojects.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/tprojects.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/ttoday.fish | 4 | ||||
-rw-r--r-- | fish2024/functions/tworkprojects.fish | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/fish2024/functions/thomeprojects.fish b/fish2024/functions/thomeprojects.fish new file mode 100644 index 0000000..f6f8d49 --- /dev/null +++ b/fish2024/functions/thomeprojects.fish @@ -0,0 +1,4 @@ +function thomeprojects --wraps=task\ _unique\ project\|grep\ \"h\\.\" --description alias\ thomeprojects=task\ _unique\ project\|grep\ \"h\\.\" + task _unique project|grep "h\." $argv + +end diff --git a/fish2024/functions/tprojects.fish b/fish2024/functions/tprojects.fish new file mode 100644 index 0000000..e3eef8e --- /dev/null +++ b/fish2024/functions/tprojects.fish @@ -0,0 +1,4 @@ +function tprojects --wraps='task rc.list.all.projects=1 projects' --description 'alias tprojects=task rc.list.all.projects=1 projects' + task rc.list.all.projects=1 projects $argv + +end diff --git a/fish2024/functions/ttoday.fish b/fish2024/functions/ttoday.fish new file mode 100644 index 0000000..e9c62fc --- /dev/null +++ b/fish2024/functions/ttoday.fish @@ -0,0 +1,4 @@ +function ttoday --wraps='task ml_due_or_scheduled_today' --description 'alias ttoday=task ml_due_or_scheduled_today' + task ml_due_or_scheduled_today $argv + +end diff --git a/fish2024/functions/tworkprojects.fish b/fish2024/functions/tworkprojects.fish new file mode 100644 index 0000000..2890978 --- /dev/null +++ b/fish2024/functions/tworkprojects.fish @@ -0,0 +1,4 @@ +function tworkprojects --wraps=task\ _unique\ project\|grep\ \"w\\.\" --description alias\ tworkprojects=task\ _unique\ project\|grep\ \"w\\.\" + task _unique project|grep "w\." $argv + +end |