Hi to all,
I am trying to set path for an application I have installed. What i'm trying to wrap my head around is if I want an environment variable to work in all terminals is it recommended I edit bash.bashrc or /etc/environment. Alternatively could I source bash.bashrc from ~/.bash_profile for this to work? What are the pros and cons?
So if I edit .bashrc then source that from ~/.bash_profile would that be a safe bet?
Im confused as there is no .bashrc or profile_bash by default and the default paths are set in etc/environment so is there any reason i can't just set the path in /etc/environment?
I think i'm over complicating the matter, i am however determined to wrap my head around this.