From b6169745c1318a0405364a5d98618f25845d5209 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Wed, 19 Dec 2018 09:54:26 +0000
Subject: unposted, c.f. 43913: emulate -L zsh in edit-command-line
Otherwise bad effects observed with GLOB_SUBST set.
---
Functions/Zle/edit-command-line | 2 ++
1 file changed, 2 insertions(+)
(limited to 'Functions')
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