1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00

18143: fix some problems with "toggle" style.

This commit is contained in:
Bart Schaefer 2003-01-27 16:43:08 +00:00
parent eb3b206c20
commit f96e139fb5

View file

@ -55,7 +55,8 @@ insert-and-predict () {
((++CURSOR))
else
LBUFFER="$LBUFFER$KEYS"
if [[ $LASTWIDGET == (self-insert|magic-space|backward-delete-char) ]]
if [[ $LASTWIDGET == (self-insert|magic-space|backward-delete-char) ||
$LASTWIDGET == (complete-word|accept-*|predict-*) ]]
then
if ! zle .history-beginning-search-backward
then