1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-29 05:21:00 +01:00

Stepan Koltsov: 30634: use (q-) quoting

for zmv output for clarity.
This commit is contained in:
Peter Stephenson 2012-08-20 14:03:04 +00:00
parent 6bd2befae7
commit 07fd604718
2 changed files with 7 additions and 2 deletions

View file

@ -279,7 +279,7 @@ fi
for f in $files; do
[[ -z $to[$f] ]] && continue
exec=($action ${=opt_o} $opt_s -- $f $to[$f])
[[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q)exec}
[[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q-)exec}
if [[ -n $opt_i ]]; then
read -q 'opt?Execute? ' || continue
fi