]> CyberLeo.Net >> Repos - CDN/bash-config.git/blob - bash-config/bashrc.d/99-dot-bashrc
Explicitly avoid loading self more than once, instead of relying on symlink detection
[CDN/bash-config.git] / bash-config / bashrc.d / 99-dot-bashrc
1 # Source user's bashrc if it exists
2 # bash-config will only load itself once per config set, so this will not loop
3 _prof="$(realpath "${HOME}/.bashrc")"
4 [ -f "${_prof}" ] && source "${_prof}"
5 unset _prof