aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-04 18:59:54 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-04 18:59:54 +0000
commit8ebb22ba19b069ecac25dc204d0595801343d0a6 (patch)
treead35c937be90f7752ce1a68ea914a57b536f57d8
parent73daaf08a0dc620237a6c8998cfff1a8781cbc50 (diff)
Adds common task aliases from bashrc
-rw-r--r--fish2024/functions/thomeprojects.fish4
-rw-r--r--fish2024/functions/tprojects.fish4
-rw-r--r--fish2024/functions/ttoday.fish4
-rw-r--r--fish2024/functions/tworkprojects.fish4
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