Original issue.
Many times the user has a login shell instead of a normal shell, like MacOS, servers. In that case, the environment variables are available in .bash_profile instead of .bashrc.
A fix is required around this, by checking which of those two files already exist and try to change settings for that only.
Original issue. Many times the user has a login shell instead of a normal shell, like MacOS, servers. In that case, the environment variables are available in .bash_profile instead of .bashrc. A fix is required around this, by checking which of those two files already exist and try to change settings for that only.