From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1d3d704021ddfe52,start X-Google-Attributes: gidfee84,public From: clos@ivory.trentu.ca Subject: Need to display $PWD in prompt using /bin/ksh Date: 1996/11/27 Message-ID: #1/1 X-Deja-AN: 201129330 sender: news@blaze.trentu.ca (USENET News System) x-nntp-posting-host: trentu.ca organization: Trent University, Peterborough reply-to: clos@ivory.trentu.ca newsgroups: comp.unix.osf.osf1 We are using Korn shell (/bin/ksh) and I would like to have the shell display my present working directory ($PWD) in my command prompt evertime I "cd" to a different directory. I have tried the following aliases in my .profile but with out success: alias p='PS1=`hostname|cut -d. -f1`":$PWD#"' alias cd='cd \!* ; p' Any ideas on what I am doing wrong?