shell: warn if profile isn't loaded

This commit is contained in:
PowerUser64 2022-09-06 15:13:58 -07:00
parent 833b39eb1b
commit 1b1d93983a

View file

@ -38,6 +38,10 @@ error() {
# change cursor to a beam by default
printf '\e[5 q'
if ! "${PROFILE_LOADED:-false}"; then
echo "Warning: profile was not loaded! Set PROFILE_LOADED to 'true' to disable this warning." >&2
fi
### <<<
### Generic shell configuration >>>
### Environment variables >>>