diff options
author | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2018-02-08 07:07:17 +0100 |
---|---|---|
committer | Hendrik Jaeger <git-commit@henk.geekmail.org> | 2018-02-08 07:07:17 +0100 |
commit | b69dba2f6584554ea09b8a48033b3c683ff703df (patch) | |
tree | 8a747ce63977bfb1ed6661e1fe38c1918da11b9a /.zsh_functions_taskwarrior | |
parent | 284cbe23a5d942a6dfadc913cef047dbed3d810f (diff) |
Change 'in' to be a dual-use function instead of alias
Diffstat (limited to '.zsh_functions_taskwarrior')
-rw-r--r-- | .zsh_functions_taskwarrior | 6 |
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 |