Merge branch 'master' of git.blakenorth.net/home/git/dotfiles

This commit is contained in:
PowerUser64 2022-09-21 00:07:24 -07:00
commit 11cf7d6e47

View file

@ -38,7 +38,8 @@ error() {
# change cursor to a beam by default # change cursor to a beam by default
printf '\e[5 q' printf '\e[5 q'
if ! "${PROFILE_LOADED:-false}"; then # Warn if profile isn't loaded, if not in an ssh connection
if ! "${PROFILE_LOADED:-false}" || [ -z "${SSH_TTY:+foo}" ]; then
echo "Warning: profile was not loaded! Set PROFILE_LOADED to 'true' to disable this warning." >&2 echo "Warning: profile was not loaded! Set PROFILE_LOADED to 'true' to disable this warning." >&2
fi fi