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. --- ChangeLog | 5 +++++ Functions/Zle/edit-command-line | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index bf954918e..4f3c3e0eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-12-19 Peter Stephenson + + * unposted c.f. 43913: Functions/Zle/edit-command-line: emulate + -L zsh to avoid bad effects with globsubst. + 2018-12-17 dana * 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