Getting base directory from .bashrc file.