mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
unposted (cf. users/27656 (Tomasz Pala), users/27660): fix $SUFFIX when GLOB_COMPLETE
This commit is contained in:
parent
af634c3acd
commit
a270da2ada
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
2022-04-14 Bart Schaefer <schaefer@Macadamia>
|
2022-04-19 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* unposted (cf. users/27656 (Tomasz Pala), users/27660):
|
||||||
|
Completion/Unix/Type/_path_files: fix $SUFFIX when GLOB_COMPLETE
|
||||||
|
|
||||||
|
2022-04-14 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 50069: Test/C03traps.ztst: fix test description
|
* 50069: Test/C03traps.ztst: fix test description
|
||||||
|
|
||||||
|
|
|
@ -734,7 +734,7 @@ for prepath in "$prepaths[@]"; do
|
||||||
compadd "$tmp4[@]" -s "${Uopt:+$ISUFFIX}" $listopts - "$tmpdisp"
|
compadd "$tmp4[@]" -s "${Uopt:+$ISUFFIX}" $listopts - "$tmpdisp"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
[[ -n "$compstate[pattern_match]" ]] && SUFFIX="${SUFFIX:s./.*/}*"
|
[[ -n "$compstate[pattern_match]" ]] && SUFFIX="${SUFFIX:gs./.*/}*"
|
||||||
|
|
||||||
for i in "$tmp1[@]"; do
|
for i in "$tmp1[@]"; do
|
||||||
_list_files i "$prepath$realpath$testpath"
|
_list_files i "$prepath$realpath$testpath"
|
||||||
|
|
Loading…
Reference in a new issue