Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!bee.austin.ibm.com!ed From: ed@bee.austin.ibm.com (Ed Holley) Newsgroups: comp.unix.aix Subject: Re: How To: set PS1 to show users "current" directory? Keywords: AIX Message-ID: <6657@awdprime.UUCP> Date: 15 Apr 91 14:58:09 GMT References: <1991Apr13.025012.13451@shared.uucp> <1599@msa3b.UUCP> Sender: news@awdprime.UUCP Reply-To: eholley@wombat.austin.ibm.com Organization: ibm austin Lines: 27 Under the ksh, you can use PS1='${PWD}> ' To get the equivalent of $p$g in dos. In article <1991Apr13.025012.13451@shared.uucp>, davec@shared.uucp (Dave Close) writes: > Path: awdprime!auschs!romp!cs.utexas.edu!uunet!shared!davec > From: davec@shared.uucp (Dave Close) > Subject: Re: How To: set PS1 to show users "current" directory? > Keywords: AIX > Organization: Shared Financial Systems, Dallas, TX > > In article <1599@msa3b.UUCP> mgphl@msa3b.UUCP (Michael Phillips) writes: > >Trying to set up AIX on a PS/2 & have users that want their command > >prompt to show their current directory (aka: $P$G in **DOS). disclaimer: all views expressed are mine, not my employers. ---------------------------------------------------------------- Ed Holley IBM AWD ibm net: ed@bee.austin.ibm.com vnet: holley at austin internet: eholley@wombat.austin.ibm.com uucp: ...!cs.utexas.edu!ibmchs!auschs!bee.austin.ibm.com!ed