Rajat Gujral, who happens to be smarter than you, thinks:
>    Hi
>    when i work in shell it shows me the complete path of the folder i am
>    in ... this make the command promt to extend to almost half the screen
>    .. How can i change the prompt so that it displays only the directory
>    i am in ..
>    Thnx & Rgds
>    Rajat

in your PS1 variable, change \w with \W

you could redefine your PS1 in your .bashrc.

:-)


-- 
if it GLISTENS, gobble it!!
-- 
gentoo-user@gentoo.org mailing list

Reply via email to