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