home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ukma!asuvax!ncar!mimbres.cs.unm.edu!cs.sandia.gov!jhgreen
- From: jhgreen@cs.sandia.gov (Jethro H. Greene)
- Subject: Re: ksh prompt
- Message-ID: <1993Jan23.204923.3978@cs.sandia.gov>
- Sender: usenet@cs.sandia.gov (Another name for news)
- Organization: Sandia National Laboratories, Albuquerque, NM
- References: <C17DJ4.FoA@sdf.lonestar.org>
- Date: Sat, 23 Jan 93 20:49:23 GMT
- Lines: 23
-
- In article <C17DJ4.FoA@sdf.lonestar.org> larry@sdf.lonestar.org (Larry D. Clark) writes:
- > Netlanders
- >
- > I am using ksh on a platform running Unix 5.4 at work and would
- > like to have my PS1 to reflect the current working directory.
- > Does any one have any ideas how to do it??
- >
- > If this is a faq please tell me where to get the faq.
-
- The FAQ is posted frequently here and in news.answers as well as a few other
- places.
-
- Here is my prompt entry from my .profile:
-
- PS1=`hostname`':$PWD\=\> '
-
- Hope this helps
-
- --
- Jethro H. Greene
- Massively Parallel Computing Research Laboratory,
- Sandia National Laboratories, Albuquerque, New Mexico
-
-