path stuff in shell
Senectus .
senectus at gmail.com
Tue Jan 25 07:42:37 UTC 2005
On Mon, 24 Jan 2005 23:15:58 -0800, Vram <lamsokvr at xprt.net> wrote:
> On Tue, 2005-01-25 at 14:41 +0800, Senectus . wrote:
> > when I move around directories in the shell I get this very long very
> > annoying path in the prompt..
> > user at a31ptp:~/downloads/themes/blue/icons/ $
> >
> > Is there some way to get it to just say the current dir that I'm in?
> >
> > --
> > Ubuntu Warty 4.10
> >
>
> Try this
>
> >PS1="\u@\W>"
>
> If you like it..
>
> Change it in .bashrc.
That is perfect but now that I've opened up the .bashrc I want to use this:
# Comment in the above and uncomment this below for a color prompt
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]
\$ '
with your addition.. what should i put in now..?
thanks..
--
Ubuntu Warty 4.10
More information about the ubuntu-users
mailing list