Prompt for ksh

Clarence Dold dold at mitisft.Convergent.COM
Wed Oct 25 06:57:18 AEST 1989


in article <3028 at jhunix.HCF.JHU.EDU>, liu at jhunix.HCF.JHU.EDU (Xuyong Liu) says:


> How can this be done under ksh?  I tried
> alias cd='cd $1; PS1="$PWD: "
> and it did not work.

I don't have an alias for cd.
I do have
PS1=`uname -n`'_${PWD}_!$ '
which yields:
mitisft_/u3/dold_6980$ 

-- 
---
Clarence A Dold - dold at tsmiti.Convergent.COM		(408) 434-5293
		...pyramid!ctnews!tsmiti!dold
		P.O.Box 6685, San Jose, CA 95150-6685	MS#10-007



More information about the Comp.unix.questions mailing list