summaryrefslogtreecommitdiff
path: root/.zsh_functions_taskwarrior
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_functions_taskwarrior')
-rw-r--r--.zsh_functions_taskwarrior6
1 files changed, 5 insertions, 1 deletions
diff --git a/.zsh_functions_taskwarrior b/.zsh_functions_taskwarrior
index 3431d85..a30fd45 100644
--- a/.zsh_functions_taskwarrior
+++ b/.zsh_functions_taskwarrior
@@ -1,5 +1,9 @@
in () {
- task add +in $@
+ if [ $# -eq 0 ]; then
+ task in
+ else
+ task add +in $@
+ fi
}
# taskwarrior