mirror of
https://gitlab.com/dabruh/dotfiles.git
synced 2024-12-25 18:33:39 +01:00
Allow injecting extra profile config.
This commit is contained in:
parent
223ff60a0c
commit
6dd79c7b6d
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue