From 09aec0e5d07efad92c2599416b4657253c427c9d Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 28 Mar 2026 13:22:24 -0700 Subject: [PATCH] Move sourcing shared RC to beginning so variables are available. --- bashrc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc.sh b/bashrc.sh index 93cb888..b29c022 100644 --- a/bashrc.sh +++ b/bashrc.sh @@ -8,6 +8,10 @@ if [[ -e ~/.env ]]; then source ~/.env fi +if [ -f ~/.rc_shared ]; then + . ~/.rc_shared +fi + # PS1 # This helps to determine the color palette numbers: # https://robotmoon.com/bash-prompt-generator/ @@ -563,10 +567,6 @@ alias prod-backup="pull_prod_backups" alias pull-prod="pull_prod_backups" alias prod-pull="pull_prod_backups" -if [ -f ~/.rc_shared ]; then - . ~/.rc_shared -fi - # Complete! PROG="$(basename -- "${BASH_SOURCE[0]}")" echo "'$PROG' completed!"