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

Re: zle clear-screen, exit status



On Tuesday, 19.10.10 at 17:47, Jérémie Roquet wrote:
> bindkey -s "^L" "clear\n"
> is enough :)

Hi, thanks for getting back to me.

That's not quite as good as zle clear-screen:

$ asdf^Lclear
zsh: command not found: asdfclear

Also, if I were to do
BUFFER='clear'
zle accept-line

it would reset $?, but it destroys the line I was editing when I hit
Ctrl-L.



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