Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: alias -g
- X-seq: zsh-users 15243
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: alias -g
- Date: Tue, 3 Aug 2010 22:02:01 +0200
- In-reply-to: <20100803193709.GA1012@xxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20100803191028.GA16019@xxxxxxxxxxxxx> <20100803193709.GA1012@xxxxxxxxxxxx>
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