diff options
| author | Peter Stephenson <pws@zsh.org> | 2015-05-18 09:56:00 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2015-05-18 09:56:00 +0100 |
| commit | 52aeb9aaeb4799b760138a7c34b18ede4b47242a (patch) | |
| tree | 0da193cbc61ac0000ae0bad210619276f63dccd5 /Completion/Unix/Command/_tar | |
| parent | 35105: completion: git: add distance_from_head to __git_recent_commits (diff) | |
| download | zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar.gz zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar.bz2 zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar.lz zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar.xz zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.tar.zst zsh-52aeb9aaeb4799b760138a7c34b18ede4b47242a.zip | |
35168: Improve parsing of case patterns.
"|" is now found properly by looking for words that come
from the lexical analyser, rather than hacking a pattern
returned in one dollop.
Update some completion functions that need extra quoting
as a result.
Add test for new parsing.
Update version number to 5.0.8-dev-3 because of wordcode
incompatibility.
Diffstat (limited to 'Completion/Unix/Command/_tar')
| -rw-r--r-- | Completion/Unix/Command/_tar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar index ce5852453..1e99ac013 100644 --- a/Completion/Unix/Command/_tar +++ b/Completion/Unix/Command/_tar @@ -23,7 +23,7 @@ local _tar_cmd tf tmp tmpb del index if _pick_variant gnu=GNU unix --version; then case "$($service --version)" in - (tar \(GNU tar\) (#b)([0-9.-]##)*) + ("tar (GNU tar) "(#b)([0-9.-]##)*) autoload -z is-at-least is-at-least 1.14.91 "$match[1]" || _cmd_variant[$service]="gnu-old" ;; |
