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

Re: default pipe



On Mon, 25 Jul 2005 16:57:37 +0200,  wrote:

>Hi!
>
>Is it possible somehow to set default pipe command? E.g.
>
>$ ls | <enter>
>
>to be executed as
>
>$ ls | less <enter>
>
>TIA

alias -g L=' | less'

ls L

(dunno if that's what you want!)


-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips



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