Hi, On Mon, Sep 11, 2006 at 09:50:45PM +0300, Roman Cheplyaka wrote: > 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? Maybe end the alias with a command that swallows its arguments? Like alias foo='echo lol; true' or even alias foo='echo lol && true' to get the correct exit status. Greetings, Tobi -- GPG-Key 0xE2BEA341 - signed/encrypted mail preferred My, oh so small, homepage: http://portfolio16.de/ http://www.fli4l.de/ - ISDN- & DSL-Router on one disk! Registered FLI4L-User #00000003
Attachment:
signature.asc
Description: Digital signature