about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Misc/zmv2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1355fe1d..d649e9a7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-20  Peter Stephenson  <pws@cambridgesiliconradio.com>
+
+	* 12000: Functions/Misc/zmv: emulate zsh doesn't unset MARKDIRS,
+	so use emulate -R.
+
 2000-06-20  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 11998: ChangeLog, Completion/Builtins/_pids, Completion/Core/compdump,
diff --git a/Functions/Misc/zmv b/Functions/Misc/zmv
index 571c3f350..44a8a1b0c 100644
--- a/Functions/Misc/zmv
+++ b/Functions/Misc/zmv
@@ -115,7 +115,7 @@
 #   non-positional parameters may not start with a number, although
 #   paranoiacs like the author will probably put them there anyway.
 
-emulate -L zsh
+emulate -RL zsh
 setopt extendedglob
 
 local f g args match mbegin mend files action myname tmpf opt exec