diff options
author | Akinori MUSHA <knu@idaemons.org> | 2021-05-28 22:20:33 +0900 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-06-03 00:28:06 +0200 |
commit | bd328a2a9c230a8232bdfbaa934874b61fa749d5 (patch) | |
tree | 63cb98373f0966b70172ae953c498514b69ac02e | |
parent | 978c4907b6ea4f15d37f450ab8fd945c104c819a (diff) | |
download | zsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.tar.gz zsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.tar.xz zsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.zip |
48942: Let EDITOR invoked by edit-command-line know it's a zsh script
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Functions/Zle/edit-command-line | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d8c20016a..78271d448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2021-06-02 Oliver Kiddle <opk@zsh.org> + * Akinori MUSHA: 48942: Functions/Zle/edit-command-line: + Let EDITOR invoked by edit-command-line know it's a zsh script + * 48954: Src/Zle/complist.c: avoid crash in reverse-menu-complete from menuselect without 'menu' in $compstate[insert] diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line index 3781244b2..5f7ea321f 100644 --- a/Functions/Zle/edit-command-line +++ b/Functions/Zle/edit-command-line @@ -8,6 +8,7 @@ emulate -L zsh local left right prebuffer buffer=$BUFFER lbuffer=$LBUFFER +local TMPSUFFIX=.zsh # set up parameters depending on which context we are called from, # see below comment for more details if (( REGION_ACTIVE )); then |