Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!arthur From: arthur@sgi.com (Arthur Evans) Newsgroups: comp.unix.questions Subject: Re: How to alias EXIT or any CSH command Message-ID: <1991Apr2.183916.10400@dragon.wpd.sgi.com> Date: 2 Apr 91 18:39:16 GMT References: <1991Apr1.165435.4687@berlioz.nsc.com> Sender: news@dragon.wpd.sgi.com (CNews Account) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 21 In article <1991Apr1.165435.4687@berlioz.nsc.com> nelson@berlioz.nsc.com (Taed Nelson) writes: > >I have reason to desire an alias for the CSH command EXIT. Since > the executable version doesn't exist anywhere, I can't do: > alias exit 'MY_STUFF_HERE; /usr/bin/exit' > or whatever. > >Anyone have a solution? I imagine so. Try: alias exit 'echo blurg ; ""exit' I know, I know--it don't make a whole boatload of sense, but it worked on my system. Hope it works on yours ... -arthur -- Arthur Evans -- Information Decorator, Akbar and Jeff's Documentation Hut