On a related note, once the PWD's been crammed in there is it possible 
to substitute "~" for the home directory (like bash does)?  Something 
like:

     mehoo@somewhere[~]$

instead of

     mehoo@somewhere[/foo/bar/mehoo]$


It looks like ksh93 has some string replacement features which might 
work... unfortunately I seem to be stuck with ksh88.

> -----Original Message-----
> From: Alex.Hillman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 3:26 PM
> To: ORACLE-L
> Subject: Prompt in Korn shell
> 
> 
> Anybody knows how to show current working directory and in 
> general shell
> variable in Korn shell that prompt change when variable changes - for
> current working directory and ORACLE_SID for example. I know 
> how to do it in
> bash but cannot do it right in Korn.
> 
> Alex Hillman
> 

Reply via email to