X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/55893f4089b3fbf9e599263bb9c751c0d37f88a9..8d00b4f7a3634056b878320a3c08cdfb267e9118:/.zsh/zshrc/parts.d/50-taskwarrior diff --git a/.zsh/zshrc/parts.d/50-taskwarrior b/.zsh/zshrc/parts.d/50-taskwarrior index 53bdcc4..ba99128 100644 --- a/.zsh/zshrc/parts.d/50-taskwarrior +++ b/.zsh/zshrc/parts.d/50-taskwarrior @@ -10,18 +10,21 @@ if whence task >/dev/null; then alias t=task + alias t\?='alias -rm t t[a-z]' alias ta='t add' alias tn='t next' alias tl='t all' alias ty='t sync' alias td='t done' + alias te='t edit' + alias tm='t modify' local SENTINEL=${XDG_RUNTIME_DIR}/taskwarrior/shell_run_sentinel mkdir --parent ${SENTINEL%/*} # only print the tasks at most once every 30 seconds if [[ -t 0 ]] && [[ -z ${SENTINEL}(#qNms-30) ]]; then touch ${SENTINEL} - task rc.color:off 2>/dev/null || : + task 2>/dev/null || : fi unset SENTINEL fi