On Debian 11, opening a terminal with bash will run a bashrc file without the profile. The bashrc expects profile to be loaded, so it will load the profile. To avoid circular imports, .profile will set __PROFILE_LOADED__ and the bashrc file will load the .profile if that variable has not been set. After that check, bashrc will unset __PROFILE_LOADED__ as cleanup |
||
|---|---|---|
| .. | ||
| .config | ||
| .jq | ||
| .local/share/buddy-up/includes | ||
| .bashrc | ||
| .profile | ||
| .zprofile | ||
| .zshrc | ||