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

Re: alias -g



Of course

But the nice thing about the alias -g mapping, is that
the command goes at the end.

This is more natural usage and I was wondering if there is a way to do 
this.

-- 
- Eric Smith
Alexey I. Froloff said:
> On Tue, Aug 03, 2010 at 09:10:28PM +0200, Eric Smith wrote:
> > How do I drop the `echo` with alias -g or something similiar
> > so all I need to do is go:
> > $ een vreemde taal T
> You don't need alias:
> 
> function T() {
>   echo $* | translate
> }
> 
> $ T een vreemde taal
> 
> -- 
> Regards,    --
> Sir Raorn.   --- http://thousandsofhate.blogspot.com/




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