Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: "Octavio Ruiz (Ta^3)" <tacvbo@...>
Subject: Re: Shell shows complete path
Date: Mon, 29 Aug 2005 23:59:11 -0500
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@g.o mailing list


References:
Shell shows complete path
-- Rajat Gujral
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Shell shows complete path
Next by thread:
mldonkey wants a gui, but I don't want a GUI....
Previous by date:
RE: iptables
Next by date:
Re: equery


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.