Move sourcing shared RC to beginning so variables are available.

This commit is contained in:
2026-03-28 13:22:24 -07:00
parent 891822aad3
commit 09aec0e5d0

View File

@@ -8,6 +8,10 @@ if [[ -e ~/.env ]]; then
source ~/.env source ~/.env
fi fi
if [ -f ~/.rc_shared ]; then
. ~/.rc_shared
fi
# PS1 # PS1
# This helps to determine the color palette numbers: # This helps to determine the color palette numbers:
# https://robotmoon.com/bash-prompt-generator/ # https://robotmoon.com/bash-prompt-generator/
@@ -563,10 +567,6 @@ alias prod-backup="pull_prod_backups"
alias pull-prod="pull_prod_backups" alias pull-prod="pull_prod_backups"
alias prod-pull="pull_prod_backups" alias prod-pull="pull_prod_backups"
if [ -f ~/.rc_shared ]; then
. ~/.rc_shared
fi
# Complete! # Complete!
PROG="$(basename -- "${BASH_SOURCE[0]}")" PROG="$(basename -- "${BASH_SOURCE[0]}")"
echo "'$PROG' completed!" echo "'$PROG' completed!"