Merge pull request #113 from derimagia/zsh-autocomplete-fix

Fix zsh completions if --colour is used
This commit is contained in:
Radovan Garabík 2019-07-24 08:35:00 +02:00 committed by GitHub
commit 8267bab647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
_grc
View File

@ -16,7 +16,7 @@ args=(
'(-e --stderr)'{-e,--stderr}'[redirect stderr; do not automatically redirect stdout]'
'(-s --stdout)'{-s,--stdout}'[redirect stdout; even with -e/--stderr]'
'(-c <name>--config=<name>)'{-c+,--config=-}'[use <name> as configuration file for grcat]:file:_files'
'--color=-[colo?urize output]:color:(on off auto)'
'--colour=-[colourize output]:colour:(on off auto)'
'(-h --help)'{-h,--help}'[display help message and exit]'
'--pty[run command in pseudotermnial (experimental)]'
'*::arguments:{ _normal }'