Hi
Try this:
PS1=="\n\033[1;32m\]\d \t \n\033[1;31m\]\${PWD/~}\[\033[1;33m\]\n \u $ "
Cheers,
J.
On Sunday 24 March 2002 17:44, you wrote:
> Greetings -- I have modified my prompt with the following code:
>
> # prompt with colour
> PS1=="\n\033[1;32m\]\d \t \n\033[1;31m\]\W\[\033[1;33m\]\n \u $ "
>
> I like this, except for one thing -- for the directory it only shows
> one level. so if I am in /home/skippi/0data/csu my prompt looks like:
>
> Sun Mar 25 05:34:21
> csu
> skippi
>
> What I want is:
>
> Sun Mar 25 05:34:21
> /home/skippi/0data/csu
> skippi
>
>
> anyone know how to do this?
>
> thank you
> Skippi
>
>
> -----------------------------------------
> Skippi
> On The Fly Photography
> http://204EastSouth.com
> Meditation -- Yoga -- Linux -- Muffins
> The Secrets of Life
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GAT d-(?) s: a C++ L++(+++) P E- W++ !N o? K- w--- o@ M+ PS+ PE++ Y+
> PGP- t++@ 5+++ X++ R+ tv-- b++ DI++++ D+ G e+ h+ r- y++
> ------END GEEK CODE BLOCK------
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com