Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: default pipe
- X-seq: zsh-users 9198
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: default pipe
- Date: Wed, 27 Jul 2005 19:35:06 +0200
- In-reply-to: <20050725192330.GB30341@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050725145737.GA903@os> <s98ae1dttdt7h15q05g96i7176giav1rho@xxxxxxx> <20050725192330.GB30341@xxxxxxxxx>
Wayne Davison wrote:
> I too have some global aliases for simple pipe commands, but I have
> found it a little safer to use a short string of characters that is
> more unlikely to ever be a filename than a single capital letter.
> I have these that use a leading comma:
>
> alias -g ,e='|egrep' ,f='|fgrep' ,g='|grep'
I tend to prefer bindkey -s instead of global aliases for such
sequences. It has the advantage that it is expanded so you can see what
it is going to do.
Oliver
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author