1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-05-18 21:51:02 +02:00

52361: fix quoting of _ant target files

This commit is contained in:
Bart Schaefer 2023-12-02 15:26:46 -08:00
parent 1ba0fff93c
commit cceace0eb6
2 changed files with 6 additions and 3 deletions
ChangeLog
Completion/Unix/Command

View file

@ -1,8 +1,11 @@
2023-12-02 Bart Schaefer <schaefer@zsh.org>
* 52361: Completion/Unix/Command/_ant: fix quoting of target files
(derived from Germán Riaño: 52329)
* 52360: Test/A04redirect.ztst: Simplify bad-descriptor check in
%prep -- avoids accidentally using an open descriptor (derived
from German Riano: 52328)
from Germán Riaño: 52328)
2023-11-29 Bart Schaefer <schaefer@zsh.org>

View file

@ -122,13 +122,13 @@ case $state in
read default_target junk
fi
# Output target again indicating its the default one.
print -n "'${default_target}:(Default target) ' "
print -rn -- "${(qq):-${default_target}:(Default target)} "
;;
(Searching:*|Main:targets:|Subtargets:|BUILD:SUCCESSFUL|Total:time:*)
;;
(*)
# Return target and description
print -n "'$ln' "
print -rn -- "${(qq)ln} "
;;
esac
done