Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: default pipe
- X-seq: zsh-users 9176
- From: GoTaR <gotar@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: default pipe
- Date: Mon, 25 Jul 2005 23:41:50 +0200
- In-reply-to: <1050725172814.ZM28171@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050725145737.GA903@os> <1050725172814.ZM28171@xxxxxxxxxxxxxxxxxxxxxxx>
On Mon, Jul 25, 2005 at 17:28:14 +0000, Bart Schaefer wrote:
> } $ ls | <enter>
>
> This is syntactically incomplete, so zsh is going to print the PS2
> prompt and wait for you to enter another command. In most cases I
> think this is what you'd want.
Actually I always finish pipes in a line, so it's never what I want;]
> The only way to subvert this is to hack the accept-line ZLE widget:
[...]
> zle -N accept-line accept-pipe-as-terminator
Works perfect:) Thanks!
--
GoTaR <priv0.onet.pl->gotar> http://vfmg.sourceforge.net/
http://tccs.sourceforge.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author