Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!caen!ox.com!math.fu-berlin.de!grasp1!wolf From: wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel) Newsgroups: comp.unix.aix Subject: Re: How To: set PS1 to show users "current" directory? Keywords: AIX Message-ID: <1991Apr16.203429.15402@grasp1.univ-lyon1.fr> Date: 16 Apr 91 20:34:29 GMT References: <1599@msa3b.UUCP> <6657@awdprime.UUCP> <3772@d75.UUCP> Organization: INSA Departement Informatique, Lyon, France Lines: 14 Ed> Under the ksh, you can use Ed> PS1='${PWD}> ' Under csh this could be: alias cd 'cd \!*;set prompt="`env LOGNAME`@`hostname`:$cwd> "' Could be added to the FAQ... Don't move I'll send it to the person who proposed to maintain the FAQ database. -- Christophe Wolfhugel (on irc: Zolf) | Email: wolf@grasp1.univ-lyon1.fr INSA Lyon - Departement Informatique | "Ecole publique, ecole fauchee. Encore" 69621 Villeurbanne Cedex | "une tradition francaise dont on se" France | "passerait bien."