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

unposted (c.f. Bart: 35902): use - after zle -U in case $key is -

This commit is contained in:
Oliver Kiddle 2015-08-05 15:44:18 +02:00
parent 32669e77f4
commit 8bbfbfebbc
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-08-05 Oliver Kiddle <opk@zsh.org>
* unposted (c.f. 35902): Functions/Zle/incremental-complete-word:
use - after zle -U in case $key starts with -
2015-08-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/builtin.c: Typo fix.

View file

@ -69,7 +69,7 @@ incremental-complete-word() {
'#key' -ne '#\\C-g' ]]; do
twid=$wid
if [[ "$key" = ${~stop} ]]; then
zle -U "$key"
zle -U - "$key"
return
elif [[ "$key" = ${~brk} ]]; then
return