diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2014-01-05 21:25:07 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2014-01-05 21:25:07 +0100 |
commit | 8f137a4ae2a5c93918760cb960539d17e56560e0 (patch) | |
tree | 9fbe622e12f91733b7e4a7e8609edd3516452709 /Completion/Base | |
parent | f07aa702dda26a4fb5f4dab71dc895109f304808 (diff) | |
parent | 79abe00e1d73b3f0681343a70e3e7f84e5e3d647 (diff) | |
download | zsh-8f137a4ae2a5c93918760cb960539d17e56560e0.tar.gz zsh-8f137a4ae2a5c93918760cb960539d17e56560e0.zip |
New upstream release
(Merge branch 'upstream' into debian)
Diffstat (limited to 'Completion/Base')
-rw-r--r-- | Completion/Base/Completer/_expand | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand index 44954a2a8..e52144cb7 100644 --- a/Completion/Base/Completer/_expand +++ b/Completion/Base/Completer/_expand @@ -103,8 +103,8 @@ subd=("$exp[@]") # Now try globbing. [[ "$force" = *g* ]] || zstyle -T ":completion:${curcontext}:" glob && - eval 'exp=( ${~exp//(#b)\\[ -]/$match[1]} ); exp=( ${(q)exp} )' 2>/dev/null + eval 'exp=( ${~exp//(#b)\\([ \"'"\'"' +])/$match[1]} ); exp=( ${(q)exp} )' 2>/dev/null ### Don't remember why we once used this instead of the (q) above. # eval 'exp=( ${~exp} ); exp=( ${exp//(#b)([][()|*?^#~<>\\=])/\\${match[1]}} )' 2>/dev/null |