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

Re: alias -g



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/

Attachment: signature.asc
Description: Digital signature



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