Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle clear-screen, exit status
- X-seq: zsh-users 15457
- From: Brian Lewis <brian@xxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zle clear-screen, exit status
- Date: Tue, 19 Oct 2010 11:53:10 -0400
- In-reply-to: <AANLkTinvgTGC7+dKKCR17vzmCxufy7zPDeaL=oFOzZj+@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20101019153258.GD2149@xxxxxxxxxxxxxxx> <AANLkTinvgTGC7+dKKCR17vzmCxufy7zPDeaL=oFOzZj+@xxxxxxxxxxxxxx>
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