From 8ebb22ba19b069ecac25dc204d0595801343d0a6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 4 Feb 2024 18:59:54 +0000 Subject: Adds common task aliases from bashrc --- fish2024/functions/thomeprojects.fish | 4 ++++ fish2024/functions/tprojects.fish | 4 ++++ fish2024/functions/ttoday.fish | 4 ++++ fish2024/functions/tworkprojects.fish | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 fish2024/functions/thomeprojects.fish create mode 100644 fish2024/functions/tprojects.fish create mode 100644 fish2024/functions/ttoday.fish create mode 100644 fish2024/functions/tworkprojects.fish (limited to 'fish2024') 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 -- cgit v1.2.3