diff options
-rw-r--r-- | .zsh_aliases | 2 | ||||
-rw-r--r-- | .zsh_functions_taskwarrior | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.zsh_aliases b/.zsh_aliases index 18173cb..c571aba 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -7,5 +7,5 @@ alias henk_rdesktop='rdesktop -u hendrik.jaeger -d TAM -p - -g 1920x1080 -z -P - alias hw1mpv='mpv --ao=alsa:device=[hw:1,0] --audio-format s32' alias ta='task' -alias in='task in' +#alias in='task in' alias ti='timew' 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 |