How to alias 'exit' in csh?
Maarten Litmaath
maart at cs.vu.nl
Sat Sep 23 14:26:44 AEST 1989
madd at bu-cs.BU.EDU (Jim Frost) writes:
\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'"
solo12% alias exit "source ~/.logout ; 'exit'"
solo12% alias
exit source ~/.logout ; 'exit'
solo12% exit
exit: Command not found.
solo12%
--
creat(2) shouldn't have been create(2): |Maarten Litmaath @ VU Amsterdam:
it shouldn't have existed at all. |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.questions
mailing list