home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15982 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.0 KB  |  35 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!ukma!asuvax!ncar!mimbres.cs.unm.edu!cs.sandia.gov!jhgreen
  3. From: jhgreen@cs.sandia.gov (Jethro H. Greene)
  4. Subject: Re: ksh prompt
  5. Message-ID: <1993Jan23.204923.3978@cs.sandia.gov>
  6. Sender: usenet@cs.sandia.gov (Another name for news)
  7. Organization: Sandia National Laboratories, Albuquerque, NM
  8. References: <C17DJ4.FoA@sdf.lonestar.org>
  9. Date: Sat, 23 Jan 93 20:49:23 GMT
  10. Lines: 23
  11.  
  12. In article <C17DJ4.FoA@sdf.lonestar.org> larry@sdf.lonestar.org (Larry D. Clark) writes:
  13. >    Netlanders
  14. >
  15. >    I am using ksh on a platform running Unix 5.4 at work and would 
  16. >    like to have my PS1 to reflect the current working directory.
  17. >    Does any one have any ideas how to do it??
  18. >
  19. >    If this is a faq please tell me where to get the faq.
  20.  
  21. The FAQ is posted frequently here and in news.answers as well as a few other
  22. places.
  23.  
  24. Here is my prompt entry from my .profile:
  25.  
  26. PS1=`hostname`':$PWD\=\> '
  27.  
  28. Hope this helps
  29.  
  30. -- 
  31. Jethro H. Greene
  32. Massively Parallel Computing Research Laboratory,
  33. Sandia National Laboratories, Albuquerque, New Mexico
  34.  
  35.