PDA

View Full Version : [SOLVED] Gnome-terminal hide current path



t1497f35
June 30th, 2011, 07:47 AM
Hi,
Is there any way to make gnome-terminal not show up the path?
The "path" I mean is underlined in red on screenshot below.

EDIT:
just appended export PS1='\u@\h:\W$ '
to ~/bashrc and it did the trick.

http://www.linuxquestions.org/questions/linux-software-2/gnome-terminal-show-only-current-directory-at-prompt-469772/