View previous topic :: View next topic |
Author |
Message |
Artimus n00b
Joined: 19 Feb 2003 Posts: 14
|
Posted: Wed Feb 19, 2003 7:39 pm Post subject: Annoying bash problem |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Feb 19, 2003 8:25 pm Post subject: Re: Annoying bash problem |
|
|
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 |
|
|
Artimus n00b
Joined: 19 Feb 2003 Posts: 14
|
Posted: Wed Feb 19, 2003 8:51 pm Post subject: Well... |
|
|
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
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 |
|
|
|
|
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
|
|