summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-12-19 09:54:26 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2018-12-19 09:54:26 +0000
commitb6169745c1318a0405364a5d98618f25845d5209 (patch)
tree8cde552ce079eca2bc3f556f55aa0ff430671ef4
parent43247252ddeedcf3955b030f2c77064089581cb0 (diff)
downloadzsh-b6169745c1318a0405364a5d98618f25845d5209.tar.gz
zsh-b6169745c1318a0405364a5d98618f25845d5209.tar.xz
zsh-b6169745c1318a0405364a5d98618f25845d5209.zip
unposted, c.f. 43913: emulate -L zsh in edit-command-line
Otherwise bad effects observed with GLOB_SUBST set.
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Zle/edit-command-line2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bf954918e..4f3c3e0eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-19  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* unposted c.f. 43913: Functions/Zle/edit-command-line: emulate
+	-L zsh to avoid bad effects with globsubst.
+
 2018-12-17  dana  <dana@dana.is>
 
 	* 43897: Completion/Darwin/Command/_xcode-select,
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index e17893e93..991775ea5 100644
--- a/Functions/Zle/edit-command-line
+++ b/Functions/Zle/edit-command-line
@@ -6,6 +6,8 @@
 # will give ksh-like behaviour for that key,
 # except that it will handle multi-line buffers properly.
 
+emulate -L zsh
+
 () {
   exec </dev/tty