From b69dba2f6584554ea09b8a48033b3c683ff703df Mon Sep 17 00:00:00 2001 From: Hendrik Jaeger Date: Thu, 8 Feb 2018 07:07:17 +0100 Subject: Change 'in' to be a dual-use function instead of alias --- .zsh_functions_taskwarrior | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.zsh_functions_taskwarrior') 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 -- cgit v1.2.3