Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a shell script project where I want to load the .*rc from the project folder.
In zsh I can achieve this by ZDOTDIR=$PWD zsh which will load the .zshrc from the current folder.
How can I do the same in Bash?
Launch bash with the --rcfile option
bash --rcfile ./project/bashrc
Required, but never shown