Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
alias -g
- X-seq: zsh-users 15241
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: alias -g
- Date: Tue, 3 Aug 2010 21:10:28 +0200
- 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 <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi
I define an alias like so:
alias -g T='|translate'
So when I go
$ echo een vreemde taal T
Then zsh will pipe that foreign phrase to a translator.
How do I drop the `echo` with alias -g or something similiar
so all I need to do is go:
$ een vreemde taal T
Thanks a lot.
--
- Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author