Fix zsh completion for --color argument (#138)

Fixes #137.
This commit is contained in:
Francesco 2020-09-04 11:34:07 +02:00 committed by GitHub
commit b0153c7e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,11 +25,11 @@ _tealdeer() {
"($I -q --quiet)"{-q,--quiet}"[Suppress informational messages]"
"($I)--config-path[Show config file path]"
"($I)--seed-config[Create a basic config]"
"($I --color)"{--color}'[Controls when to use color]:when:((
"($I)--color[Controls when to use color]:when:((
always
auto
never
))'
))"
'(- *)'{-h,--help}'[Display help]'
'(- *)'{-v,--version}'[Show version information]'
'*:file:_files'