mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
one more problem with quoting of glob characters in filename completion (12496)
This commit is contained in:
parent
a23d39ce38
commit
7bf1f0292d
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2000-08-03 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 12496: Completion/Core/_path_files: one more problem with
|
||||
quoting of glob characters in filename completion
|
||||
|
||||
* 12494: Doc/Zsh/options.yo, Src/Zle/zle_main.c: make binding of
|
||||
^D be used in first column if ignoreeof is set and ^D is bound to
|
||||
a shell function widget
|
||||
|
|
|
@ -421,6 +421,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]}} )
|
||||
tmp2="${(M)tpre##((.|..|)/)##}"
|
||||
if [[ -n "$tmp2" ]]; then
|
||||
skipped="/$tmp2"
|
||||
|
|
Loading…
Reference in a new issue