3 ms·
If you do, it will even load it for non-interactive shells. if [ -n "$PS1" ] ; then [ -r ~/.bashrc ] && . ~/.bashrc [ -r ~/.bash_login ] && . ~/.
by Fnoord 7y ago
If you do, it will even load it for non-interactive shells.
if [ -n "$PS1" ] ; then
[ -r ~/.bashrc ] && . ~/.bashrc
[ -r ~/.bash_login ] && . ~/.bash_login
fi
- rovr138 7y agoYep. It’s a mess frankly.