FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 01-27-2012, 01:42 PM
Thomas Bächler
 
Default bashrc path not being enforced

Am 27.01.2012 15:20, schrieb gt:
> Hello list
>
> Earlier I had appended my personal bin directory to /etc/profile's PATH,
> and it worked perfectly.
>
> Now, i am trying to add PATH to my user's .bashrc, but it doesn't come
> into effect. Though adding it to .bash_profile works. I am using urxvt
> and have set it to start as a login shell.
>
> What can be the reason?
>

'man bash', section "INVOCATION".
 
Old 01-27-2012, 03:46 PM
gt
 
Default bashrc path not being enforced

On Fri, Jan 27, 2012 at 03:42:17PM +0100, Thomas Bächler wrote:
> Am 27.01.2012 15:20, schrieb gt:
> > Earlier I had appended my personal bin directory to /etc/profile's PATH,
> > and it worked perfectly.
> >
> > Now, i am trying to add PATH to my user's .bashrc, but it doesn't come
> > into effect. Though adding it to .bash_profile works. I am using urxvt
> > and have set it to start as a login shell.
> >
> > What can be the reason?
> >
>
> 'man bash', section "INVOCATION".

Thank, I know the difference between a login shell and non-login ones,
and the files they use.

Well i sorted out the issue. I had a "source /etc/profile" in my .bashrc,
which was probable why the PATH wasn't coming into effect.

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
 

Thread Tools




All times are GMT. The time now is 05:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org