Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Stop {up,down}-line-or-beginning-search from triggeing warn_create_global



On Wed, 23 Jan 2013 22:26:22 +0100
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> diff --git a/Functions/Zle/down-line-or-beginning-search b/Functions/Zle/down-line-or-beginning-search
> index fbd2c33..ff3d1d2 100644
> --- a/Functions/Zle/down-line-or-beginning-search
> +++ b/Functions/Zle/down-line-or-beginning-search
> @@ -1,6 +1,9 @@
>...
> +up-line-or-beginning-search "$@"

This one should presumably be "down".

However, I'm not sure you need to go to these lengths (not that it's
doing anything particularly out of the ordinary): I think using the
"typeset -g" within the original functions would work OK.

pws



Messages sorted by: Reverse Date, Date, Thread, Author