1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

39757 plus test: Fix completion under parenthetical directory names, broken in 39412

This commit is contained in:
Daniel Shahaf 2016-11-23 07:39:16 +00:00
parent 53e6b12bdf
commit eccb7471b5
2 changed files with 4 additions and 1 deletions

View file

@ -594,7 +594,7 @@ for prepath in "$prepaths[@]"; do
# There are more components, so skip over the next components and make a
# slash be added.
tmp1=( ${tmp1//(#b)([][()|*?^#~<>\\=])/\\${match[1]}} )
#tmp1=( ${tmp1//(#b)([][()|*?^#~<>\\=])/\\${match[1]}} )
tmp2="${(M)tpre##${~skips}}"
if [[ -n "$tmp2" ]]; then
skipped="/$tmp2"