How To: set PS1 to show users "current" directory?
Lindsay Wakeman
law at ioe.lon.ac.uk
Tue Apr 16 19:37:33 AEST 1991
In csh .login I use:
cd
alias cd 'cd \!*; set prompt="$cwd :"'
JANET: law at uk.ac.lon.ioe | Lindsay Wakeman
EARN/BITNET: law%ioe.lon.ac.uk at ukacrl.bitnet | Institute of Education
INTERNET:law%ioe.lon.ac.uk at nsfnet-relay.ac.uk | 20 Bedford Way London WC1H OAL
UUCP: !mcvax!ukc!educ-isis!law | VOICE +44 71 636 1500 ext.512
--
JANET: law at uk.ac.lon.ioe | Lindsay Wakeman
EARN/BITNET: law%ioe.lon.ac.uk at ukacrl.bitnet | Institute of Education
INTERNET:law%ioe.lon.ac.uk at nsfnet-relay.ac.uk | 20 Bedford Way London WC1H OAL
UUCP: !mcvax!ukc!educ-isis!law | VOICE +44 71 636 1500 ext.512
More information about the Comp.unix.aix
mailing list