diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-20 14:03:04 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-20 14:03:04 +0000 |
commit | 07fd604718b0b2202808c121f7bbcb4dce5c9ae5 (patch) | |
tree | ab00db70ebddfec5d76320ea20bb777557763005 /Functions/Misc/zmv | |
parent | 6bd2befae7791c5ee2343d01ac51d631e6f44f7c (diff) | |
download | zsh-07fd604718b0b2202808c121f7bbcb4dce5c9ae5.tar.gz zsh-07fd604718b0b2202808c121f7bbcb4dce5c9ae5.tar.xz zsh-07fd604718b0b2202808c121f7bbcb4dce5c9ae5.zip |
Stepan Koltsov: 30634: use (q-) quoting
for zmv output for clarity.
Diffstat (limited to 'Functions/Misc/zmv')
-rw-r--r-- | Functions/Misc/zmv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zmv b/Functions/Misc/zmv index 86a8fce9c..4ba664e6d 100644 --- a/Functions/Misc/zmv +++ b/Functions/Misc/zmv @@ -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 |