34961: add backslash to alias expansion matching (related to workers/32186)

This commit is contained in:
Barton E. Schaefer 2015-04-25 10:47:31 -07:00
parent 76fcbc6eda
commit 33ff5d06f2
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
* 34961: Completion/Base/Completer/_expand: add backslash to alias
expansion matching (related to workers/32186)
* 34961: Test/D02glob.ztst: test for breadth-first glob with (Y1)
qualifier (originally workers/32726)

View File

@ -87,7 +87,7 @@ if [[ "$force" = *s* ]] ||
setopt aliases
eval 'exp=( ${${(e)exp//\\[
]/ }//(#b)([
]/ }//(#b)([ \\
])/\\$match[1]} )' 2>/dev/null
setopt NO_aliases
else