home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5199 < prev    next >
Encoding:
Text File  |  1992-12-30  |  670 b   |  18 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!think.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!kasajian
  3. From: kasajian@netcom.com (Kenneth Kasajian)
  4. Subject: pwd
  5. Message-ID: <1992Dec31.022725.13611@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. Date: Thu, 31 Dec 1992 02:27:25 GMT
  8. Lines: 8
  9.  
  10. Hello.  I'm using tcsh as my shell.  I was wondering..  how do I get
  11. the prompt to show my local directory like in dos PROMPT $P$G
  12. I've tried:
  13. prompt `pwd`
  14. but the prompt is set to the directory name at the time of the setting
  15. and doesn't change when change directories.  How do I get it to
  16. execute everytime.  can I overwrite 'cd' ?
  17.  
  18.