Re: bashrc path not being enforced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux