about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@idaemons.org>2021-05-28 22:20:33 +0900
committerOliver Kiddle <opk@zsh.org>2021-06-03 00:28:06 +0200
commitbd328a2a9c230a8232bdfbaa934874b61fa749d5 (patch)
tree63cb98373f0966b70172ae953c498514b69ac02e /Functions
parent978c4907b6ea4f15d37f450ab8fd945c104c819a (diff)
downloadzsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.tar.gz
zsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.tar.xz
zsh-bd328a2a9c230a8232bdfbaa934874b61fa749d5.zip
48942: Let EDITOR invoked by edit-command-line know it's a zsh script
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/edit-command-line1
1 files changed, 1 insertions, 0 deletions
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