diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2011-05-15 00:06:31 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2011-05-15 00:06:31 +0000 |
commit | cfebfe68b58383886f4365899a78135136b3506d (patch) | |
tree | 31ce35b554ef684960f9f39356a4200c66d9e733 /Completion/Unix | |
parent | 7aefbdb937fcb1ff95a00f76ef386a644218d326 (diff) | |
download | zsh-cfebfe68b58383886f4365899a78135136b3506d.tar.gz zsh-cfebfe68b58383886f4365899a78135136b3506d.tar.xz zsh-cfebfe68b58383886f4365899a78135136b3506d.zip |
29278: Completion/Unix/Type/_path_files: fix use of the $skips
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index baa57e5d3..1c272baba 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -574,7 +574,7 @@ for prepath in "$prepaths[@]"; do # slash be added. tmp1=( ${tmp1//(#b)([][()|*?^#~<>\\=])/\\${match[1]}} ) - tmp2="${(M)tpre##((.|..|)/)##}" + tmp2="${(M)tpre##${~skips}}" if [[ -n "$tmp2" ]]; then skipped="/$tmp2" tpre="${tpre#$tmp2}" |