about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Functions/Misc/zmv2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fbca8939c..a2b415d83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-20  Peter Stephenson  <pws@csr.com>
+
+	* Stepan Koltsov: 30634: Functions/Misc/zmv: use (q-) quoting
+	for output for clarity.
+
 2012-08-17  Peter Stephenson  <pws@csr.com>
 
 	* Stepan Koltsov: 30632
@@ -83,5 +88,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5703 $
+* $Revision: 1.5704 $
 *****************************************************
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