Gentoo Archives: gentoo-user

From: "Octavio Ruiz (Ta^3)" <tacvbo@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shell shows complete path
Date: Tue, 30 Aug 2005 05:05:24
Message-Id: 20050830045911.GB14020@tacvbo.net
In Reply to: [gentoo-user] Shell shows complete path by Rajat Gujral
1 Rajat Gujral, who happens to be smarter than you, thinks:
2 > Hi
3 > when i work in shell it shows me the complete path of the folder i am
4 > in ... this make the command promt to extend to almost half the screen
5 > .. How can i change the prompt so that it displays only the directory
6 > i am in ..
7 > Thnx & Rgds
8 > Rajat
9
10 in your PS1 variable, change \w with \W
11
12 you could redefine your PS1 in your .bashrc.
13
14 :-)
15
16
17 --
18 if it GLISTENS, gobble it!!
19 --
20 gentoo-user@g.o mailing list