diff options
| author | dana <dana@dana.is> | 2018-10-24 00:41:58 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2018-10-24 00:41:58 -0500 |
| commit | da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7 (patch) | |
| tree | b812fae54a9dec5bbc94ed9dc97cd1bf971e0a48 /Completion/Unix/Command/_grep | |
| parent | 43714: complete lp fit-to-page option (diff) | |
| download | zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.gz zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.bz2 zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.lz zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.xz zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.tar.zst zsh-da05d2cc2b9bf758eddee8d6613e79bb4f07e3f7.zip | |
43718: Use singular completion group descriptions
Diffstat (limited to 'Completion/Unix/Command/_grep')
| -rw-r--r-- | Completion/Unix/Command/_grep | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep index 3bc8d3fe0..d3e1b1a6e 100644 --- a/Completion/Unix/Command/_grep +++ b/Completion/Unix/Command/_grep @@ -10,11 +10,11 @@ if [[ $service = *GREP_OPT* ]]; then else arguments=( '(-e --regexp -f --file)1: :_guard "^-*" pattern' ) if [[ $service = z* ]]; then - arguments+=( '*:files:_files -g "*.gz(-.)"' ) + arguments+=( '*: :_files -g "*.gz(-.)"' ) elif [[ $service = bz* ]]; then - arguments+=( '*:files:_files -g "*.bz2(-.)"' ) + arguments+=( '*: :_files -g "*.bz2(-.)"' ) else - arguments+=( '*:files:_files' ) + arguments+=( '*: :_files' ) fi command="$words[1]" fi |
