path stuff in shell

Vram lamsokvr at xprt.net
Tue Jan 25 07:15:58 UTC 2005


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.


Vram









More information about the ubuntu-users mailing list