PDA

View Full Version : [SOLVED] where da prompt is set



akashiraffee
December 5th, 2009, 01:26 AM
I have set the prompt:

PS1='\u \w: '

in both ~/.profile and /etc/profile. It works in VC's, but for some reason on the desktop I get the original prompt. Anyone know where gnome or whatever manages to supercede the bash prompt?

:popcorn:

[never mind...found it in ~/.bashrc, vis, used in xterm]

sisco311
December 5th, 2009, 01:29 AM
~/.bashrc

akashiraffee
December 5th, 2009, 01:30 AM
Assuming that you use bash: ~/.bashrc

Aren't you quick! Thanks tho.