Fix bug preventing $USER from keeping in .bashrc

main
Rob Muhlestein 2 years ago
parent 08ba4ae656
commit 181115d6f8

@ -20,7 +20,7 @@ _source_if() { [[ -r "$1" ]] && source "$1"; }
# ----------------------- environment variables ----------------------
# (also see envx)
export USER="$(whoami)"
export USER="${USER:-$(whoami)}"
export GITUSER="$USER"
export REPOS="$HOME/Repos"
export GHREPOS="$REPOS/github.com/$GITUSER"

Loading…
Cancel
Save