Gnome Terminal prompt assistance.

Hi all, I have a quick question, that is more of a snaggle, but it is something that is kinda bugging me.

I would like to customize the prompt in my terminal. I would like it just to display the present directory, not the whole directory listing. So instead of

paul@Antiparabox:~/Documents/School/Operating Systems>
I get:

paul@Antiparabox:Operating Systems>

I came across a how to earlier, and have since lost it, but it didn’t help completely either. Any help would be appriciated. Thank you.

You need to edit your ~/.bashrc PS1 variable to;


Google on “customize terminal prompt” should give you plenty of hits

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel
up 0:52, 2 users, load average: 0.35, 0.28, 0.26
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME