Use better todo.sh aliases such that completions work
This commit is contained in:
parent
b16451200c
commit
5a2b5677ab
@ -1,6 +1,11 @@
|
||||
## todo.sh
|
||||
alias taz='todo.sh addz'
|
||||
alias tap='todo.sh addp'
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user