2
1
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?
2
1
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?
2
Launch bash with the --rcfile option
bash --rcfile ./project/bashrc