mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
31222: Stop {up,down}-line-or-beginning-search from triggering warn_create_global
This is a followup to 30995 taking Peter's suggestions from 30997 into account.
This commit is contained in:
parent
abb32da0e7
commit
e619a7353a
@ -12,6 +12,10 @@
|
|||||||
* 31221: Completion/Unix/Command/_git: Handle zero defined aliases
|
* 31221: Completion/Unix/Command/_git: Handle zero defined aliases
|
||||||
better
|
better
|
||||||
|
|
||||||
|
* 31222: Functions/Zle/down-line-or-beginning-search,
|
||||||
|
Functions/Zle/up-line-or-beginning-search: Don't trigger
|
||||||
|
warn_create_global
|
||||||
|
|
||||||
2013-04-04 Peter Stephenson <p.stephenson@samsung.com>
|
2013-04-04 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* 31203: Completion/Unix/Command/.distfiles,
|
* 31203: Completion/Unix/Command/.distfiles,
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
|
|
||||||
|
typeset -g __searching __savecursor
|
||||||
|
|
||||||
if [[ ${+NUMERIC} -eq 0 &&
|
if [[ ${+NUMERIC} -eq 0 &&
|
||||||
( $LASTWIDGET = $__searching || $RBUFFER != *$'\n'* ) ]]
|
( $LASTWIDGET = $__searching || $RBUFFER != *$'\n'* ) ]]
|
||||||
then
|
then
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
|
|
||||||
|
typeset -g __searching __savecursor
|
||||||
|
|
||||||
if [[ $LBUFFER == *$'\n'* ]]; then
|
if [[ $LBUFFER == *$'\n'* ]]; then
|
||||||
zle .up-line-or-history
|
zle .up-line-or-history
|
||||||
__searching=''
|
__searching=''
|
||||||
|
Loading…
Reference in New Issue
Block a user