diff options
Diffstat (limited to 'Functions/Zle/down-line-or-beginning-search')
-rw-r--r-- | Functions/Zle/down-line-or-beginning-search | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/Zle/down-line-or-beginning-search b/Functions/Zle/down-line-or-beginning-search index 8a8ed8994..fbd2c3341 100644 --- a/Functions/Zle/down-line-or-beginning-search +++ b/Functions/Zle/down-line-or-beginning-search @@ -1,6 +1,8 @@ # Like down-line-or-search, but uses the whole line prefix up to the # cursor position for searching forwards. +emulate -L zsh + if [[ ${+NUMERIC} -eq 0 && ( $LASTWIDGET = $__searching || $RBUFFER != *$'\n'* ) ]] then |