Allow injecting extra profile config.

This commit is contained in:
dabruh 2022-05-28 23:00:55 +02:00
parent 223ff60a0c
commit 6dd79c7b6d

View file

@ -44,3 +44,7 @@ for DIR in "${PATHS[@]}"; do
! [ -d "$DIR" ] && continue
export PATH="$DIR:$PATH"
done
# Add the profile-extras file yourself if you wish to override anything:
PROFILE_EXTRAS="${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile-extras"
[ -f "$PROFILE_EXTRAS" ] && . "$PROFILE_EXTRAS"