You are not logged in.

#1 2012-02-27 16:11:13

dunks
Member
From: United Kingdom
Registered: 2011-08-23
Posts: 18
Website

[Solved] urxvt and .bashrc problem (custom prompt)

Hey guys, I'm currently having trouble with urxvt and my .bashrc.

I used to use Xfce terminal without any issues alongside my .bashrc which contains aliases and a custom PS1 prompt. I've now switched to urxvt but it doesn't seem to be picking up my PS1 prompt from .bashrc, it works if I use the PS1 command in the urxvt terminal, but upon exiting and loading up a new urxvt session, it's back to the default prompt.

It's probably a pretty basic issue to solve but I'm having no luck and a search hasn't brought up anything useful.

Thanks in advance.

Last edited by dunks (2012-02-27 16:29:22)

Offline

#2 2012-02-27 16:25:56

jbritton
Member
Registered: 2011-03-15
Posts: 41

Re: [Solved] urxvt and .bashrc problem (custom prompt)

You might try adding

xrdb -merge ~/.Xresources &

to your ~/.xinitrc if it's not there already.

Offline

#3 2012-02-27 16:28:58

dunks
Member
From: United Kingdom
Registered: 2011-08-23
Posts: 18
Website

Re: [Solved] urxvt and .bashrc problem (custom prompt)

Thanks, I've fixed it. There was a few conditionals that set the PS1 variable (using the .bashrc from Gentoo I think, was on the wiki), I've just removed that and it seems to be fine.

Offline

Board footer

Powered by FluxBB