From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1d3d704021ddfe52 X-Google-Attributes: gidfee84,public From: mgoldste@mason2.gmu.edu (Mathew E Goldstein) Subject: Re: Need to display $PWD in prompt using /bin/ksh Date: 1996/11/28 Message-ID: <57j43v$l87@portal.gmu.edu>#1/1 X-Deja-AN: 201224475 references: content-type: text/plain; charset=US-ASCII organization: George Mason University, Fairfax, Virginia, USA mime-version: 1.0 newsgroups: comp.unix.osf.osf1 clos@ivory.trentu.ca wrote: : 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' I put alias cd 'cd \!* ; set prompt=`pwd`">"' in my .cshrc file and that works for me. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit my home page. http://mason.gmu.edu/~mgoldste/