Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
alias -- do not pass args
- X-seq: zsh-users 10704
- From: Roman Cheplyaka <roman.cheplyaka@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: alias -- do not pass args
- Date: Mon, 11 Sep 2006 21:50:45 +0300
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=syqQcxbQI1ajQCTjVS2AxK59DY1O3xWGaiuhOfnZjk+LgRKcZtq98tvl9vgNdjibAlVgr5rItCKdntLce2iNmZlDx3VBbYRTU8t9ZYZb9r9dxqJJZVFOLEpDQOT60HOxD2OjjVm3CdPIJ0e0YAezAkNW0TnnCo7qcRL/xbuDoMU=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I want to define alias which would /not/ pass its args to program.
E.g.
$ alias foo='echo lol'
$ foo a b
should just print lol, not "lol a b". How can I do this?
I haven't found this in the manual.
--
Roman I. Cheplyaka
Messages sorted by:
Reverse Date,
Date,
Thread,
Author