zsh/.aliases/command-specific/todo.sh

12 lines
244 B
Bash

## todo.sh
alias taz='todo.sh add "(Z)"'
tap() {
pri="$1:u" #uppercase
shift
todo.sh add "($pri) $@"
}
compdef -e 'words[1]=(todo.sh add); service=todo.sh; (( CURRENT+=1 )); _todo.sh' tap
alias t='todo.sh'
alias hw='t hw'
alias hwr="hw rel"