home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 16024 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.2 KB

  1. Path: sparky!uunet!europa.eng.gtefsd.com!paladin.american.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!ames!nsisrv!Pt!postmaster@hq.af.mil!lpeters
  2. From: lpeters@postmaster@hq.af.mil (Leslie D Peters)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: ksh prompt
  5. Message-ID: <16611@hq.hq.af.mil>
  6. Date: 25 Jan 93 12:55:41 GMT
  7. References: <C17DJ4.FoA@sdf.lonestar.org>
  8. Sender: news@Pt.hq.af.mil
  9. Reply-To: lpeters@marge.hq.af.mil
  10. Organization: 7th Communications Group
  11. Lines: 22
  12.  
  13. In article <C17DJ4.FoA@sdf.lonestar.org>, larry@sdf.lonestar.org (Larry D. Clark) writes:
  14. |> 
  15. |>     Netlanders
  16. |> 
  17. |>     I am using ksh on a platform running Unix 5.4 at work and would 
  18. |>     like to have my PS1 to reflect the current working directory.
  19. |>     Does any one have any ideas how to do it??
  20. |> 
  21. |>     If this is a faq please tell me where to get the faq.
  22. |> 
  23. |>     Thanks
  24. |> 
  25. |>     Larry
  26. |> 
  27. |>      Larry D. Clark   larry@sdf.lonestar.org  ...!seas.smu.edu!letni!sdf!larry
  28. |> -- 
  29. |> Larry D. Clark   larry@sdf.lonestar.org  ...!seas.smu.edu!letni!sdf!larry
  30. Try:
  31. PS1='$PWD $ '
  32. -- 
  33. |     I haven't lost my mind --     | Les Peters, Sorceror's Apprentice |
  34. | it's backed up on tape somewhere. |    lpeters@marge.hq.af.mil        |
  35.