diff options
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Zle/predict-on | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on index 1ce368bfa..8a2274910 100644 --- a/Functions/Zle/predict-on +++ b/Functions/Zle/predict-on @@ -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 |