From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110174.tru64-unix-managers.marc@archive.invalid> From: Date: Thu, 03 Apr 1997 17:25:22 +0000 To: tru64-unix-managers Subject: SUMMARY: Default directory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110174 Hi, I received many suggestions but the simplest way is as following: PS1="`whoami`@`hostname`[\${PWD}]" Many thanks to all of you. Yaseen ----------- >---------- >From: Yaseen Mostamand - EXC >Sent: Wednesday, April 02, 1997 4:53 PM >To: alpha-osf-managers@ornl.gov >Subject: Default directory > >Hi Folks, > >I am new with Digital UNIX. In my .profile, I have a command line as >following: >PS1="`hostname`:`whoami`[`pwd`]" > >When I login, the prompt shows the host-name, user-name and my default >directory but when I change the directory the prompt still show as I am >in my home directory. > >What I would like to see is when I change my directory my prompt should >change to the current directory as well. Do I miss something in here? > >Thanks, >Yaseen >