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