You are not logged in.
Pages: 1
Hi folks.
I don't know why but my bashrc stopped beeing processed at terminal starting. I discovered this because when I ran alias I had none of those written on my .bashrc
I've been fussing on profiles and stuff but didn't managed to get it working myself.
Any ideias?
Thanks
Last edited by tsenart (2008-10-22 18:01:41)
Offline
If bash is interactive and a login shell, then ~/.bash_profile is read.
If it is interactive and not a login shell, then ~/.bashrc is read.
So put source ~/.bashrc in ~/.bash_profile to make sure it is always processed.
Last edited by Procyon (2008-10-22 00:17:30)
Offline
Thanks! It's solved. I put everything on .bashrc and .bash_profile sources .bashrc.
Offline
I put everything on .bashrc and .bash_profile sources .bashrc.
If your ~/.bash_profile does nothing but source ~/.bashrc, you could do as phrakture mentions in this post and simply symlink ~/.bash_profile to ~/.bashrc.
Last edited by ssjlegendx (2008-10-23 01:49:14)
#!/vim/rocks
Offline
Pages: 1