Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Annoying bash problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Artimus
n00b
n00b


Joined: 19 Feb 2003
Posts: 14

PostPosted: Wed Feb 19, 2003 7:39 pm    Post subject: Annoying bash problem Reply with quote

My .bash_profile doesn't seem to be gertting executed. I've been through the discussion forums, but nothing has worked for me yet... here's what it looks like...

# .bash_profile
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/usr/local/sbin

if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

export PATH
unset USERNAME

I've run a shell script I found in another thread to convince myself that it is an interactive login shell. My .bashrc file *does* get executed... I have aliased commands that are recognized without any problem, but I can't update my $PATH in .bash_profile. I'm stumped... this was always a piece of cake in the RedHat, but I'm at a loss here... any help would be appreciated. TIA
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Feb 19, 2003 8:25 pm    Post subject: Re: Annoying bash problem Reply with quote

Artimus wrote:
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
What happens if this is the only line in .bash_profile, then put everything else in .bashrc?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Artimus
n00b
n00b


Joined: 19 Feb 2003
Posts: 14

PostPosted: Wed Feb 19, 2003 8:51 pm    Post subject: Well... Reply with quote

Thanks for the reply
I essentially tried doing that, putting all the $PATH stuff in .bashrc, but 'export' seemed to get ignored

...as happens so often, I have it working, but I have no idea why it didn't work in the first place. I simply copied the files from /etc/skel into my home directory, added my aliases and PATH stuff, and everything works beautifully :D

So far so good... I'm a gentoo newbie, and installation has thus far been pretty straightforward (although quite a bit of work) thanks in large part to the extensive documentation and discussion forums. One problem I'm still bumping into is the java plugin and Mozilla. I have the Blackdown jre installed... it seems from reading the forums that blackdown and mozilla don't play well together, but blackdown's jre works very well in konqueror... I haven't spent too much time on this, so I might figure it out yet...

Again, thanks...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum