-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
I've noticed the installer has created a .bash_profile
.bash_profile:
###-tns-completion-start-###
if [ -f /home/rhalff/.tnsrc ]; then
source /home/rhalff/.tnsrc
fi
###-tns-completion-end-###Normally Ubuntu does not have a .bash_profile and will load .bashrc.
The problem with the above is the rest of the environment will not get loaded while .bashrc is not being sourced.
Adding something like [[ -s ~/.bashrc ]] && source ~/.bashrc to the file would accomplish that.
I mention Webstorm, because it's terminal will consider loading .bash_profile instead of .bashrc which made it suddenly not load my normal environment anymore (e.g. nvm etc)