>.<recursive-edit is apparently better for *autosuggestions

This commit is contained in:
Sebastian Gniazdowski 2016-05-25 06:26:13 +02:00
parent 3d62bc2043
commit 4b76fc0860

View file

@ -138,7 +138,7 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
zle -N backward-delete-char _zhcw_backward_delete_char
zle -N delete-char _zhcw_delete_char
if zle recursive-edit -K zhcw; then
if zle .recursive-edit -K zhcw; then
BUFFER="${__hsmw_hcw_found[__hsmw_hcw_index]}"
CURSOR="${#BUFFER}"
fi