From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26067 invoked by alias); 3 Aug 2010 20:02:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15243 Received: (qmail 12284 invoked from network); 3 Aug 2010 20:02:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at trustfood.org does not designate permitted sender hosts) Date: Tue, 3 Aug 2010 22:02:01 +0200 From: Eric Smith To: zsh-users@zsh.org Subject: Re: alias -g Message-ID: Mail-Followup-To: zsh-users@zsh.org References: <20100803191028.GA16019@trustfood.org> <20100803193709.GA1012@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100803193709.GA1012@altlinux.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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/