S Mohan wrote:
Has been given by Charles in the FAQ/doc section.
In /root/.profile, put the following code:
cdp()
{
cd $@
export PS1=`echo -n -e "\n$HOSTNAME: -$USER->$PWD"`
}
alias cd=cdp
Thus for every cd, the new directory is also shown in the prompt.
I guess this is what you are lookin
this is what you are looking for given that except for PWD,
everything else is static for the session.
Mohan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jeff
Newmiller
Sent: Wednesday, December 11, 2002 6:01 AM
To: Brian Henning
Cc: leaf
Subject: R
On Tue, 10 Dec 2002, Brian Henning wrote:
> hello,
>
> could someone tell me how to change the prompt in dachstein leaf?
> i tried editing /etc/profile:
>
> export PS1=`echo -n -e "\n$HOSTNAME: $USER-> "`
>
> but that didn't do the trick.
Do what trick? Please be more specific as to what you
hello,
could someone tell me how to change the prompt in dachstein leaf?
i tried editing /etc/profile:
export PS1=`echo -n -e "\n$HOSTNAME: $USER-> "`
but that didn't do the trick.
thanks,
b
---
This sf.net email is sponsored by:
With Grea