Fix ZSH autocompletion

This commit is contained in:
PabloLec 2021-06-07 11:42:47 +02:00
parent 17acefdd9b
commit 018bce7ad5
1 changed files with 2 additions and 3 deletions

View File

@ -40,8 +40,7 @@ _cheat() {
'(-t --tag)'{-t,--tag}'[Return only sheets matching <tag>]: :->taglist' \
'(-T --tags)'{-T,--tags}'[List all tags in use]: :->none' \
'(-v --version)'{-v,--version}'[Print the version number]: :->none' \
'(--rm)--rm[Remove (delete) <sheet>]: :->personal' \
'(-)*: :->full'
'(--rm)--rm[Remove (delete) <sheet>]: :->personal'
case $state in
(none)
@ -63,4 +62,4 @@ _cheat() {
esac
}
_cheat
compdef _cheat cheat