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:
parent
eb3b206c20
commit
f96e139fb5
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue