From f96e139fb5abb6a6292b4f3f4a8b9aa0682c8403 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 27 Jan 2003 16:43:08 +0000 Subject: 18143: fix some problems with "toggle" style. --- Functions/Zle/predict-on | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Functions/Zle') 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 -- cgit 1.4.1