How to alias 'exit' in csh?

Jim Frost madd at bu-cs.BU.EDU
Sat Sep 23 07:03:20 AEST 1989


In article <3301 at solo9.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
|	alias	exit	'source ~/.logout; unalias exit; eval \exit'

Use:
	alias exit "source ~/.logout ; 'exit'"

Aliasing doesn't happen on quoted names, which I often make use of
when I really, really want to override my aliasing.

jim frost
software tool & die
madd at std.com



More information about the Comp.unix.questions mailing list