YAPQ (yet another prompt question)
Scott "The Pseudo-Hacker" Neugroschl
abcscnge at csuna.csun.edu
Tue Aug 22 11:57:09 AEST 1989
In article <13542 at bloom-beacon.MIT.EDU> jik at athena.mit.edu (Jonathan I. Kamens) writes:
]>In article <2113 at infmx.UUCP> aland at infmx.UUCP (alan denney) writes:
]=In article <1356 at unhd.unh.UUCP> rg at unh.UUCP (Roger Gonzalez) writes:
]=|
]=|Since a child 'csh' is spawned whenever I 'su', I thought it would be
]=|nice to have the prompt reflect the 'su-ed' state. Hence, in .cshrc, I
]=|had:
]=|[problem text deleted]
[various flames deleted]
Since Roger is obviousely using csh, how about the following
alias su '/bin/su \!:* -c "exec csh"'
That ought to always force a csh invocation of the su, without the parent
sh hanging around...
--
Scott "The Pseudo-Hacker" Neugroschl
UUCP: ...!sm.unisys.com!csun!csuna.csun.edu!abcscnge
-- Beat me, Whip me, make me code in Ada
-- Disclaimers? We don't need no stinking disclaimers!!!
More information about the Comp.unix.questions
mailing list