1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

48942: Let EDITOR invoked by edit-command-line know it's a zsh script

This commit is contained in:
Akinori MUSHA 2021-05-28 22:20:33 +09:00 committed by Oliver Kiddle
parent 978c4907b6
commit bd328a2a9c
2 changed files with 4 additions and 0 deletions

View file

@ -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]

View file

@ -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