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 |