shell: warn if profile isn't loaded
This commit is contained in:
parent
833b39eb1b
commit
1b1d93983a
1 changed files with 4 additions and 0 deletions
|
@ -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 >>>
|
||||
|
|
Loading…
Add table
Reference in a new issue