1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-18 05:06:38 +02:00

.profile: check ~/.local/profile aswell

This commit is contained in:
Eric Teunis de Boone 2020-04-15 21:50:04 +02:00
parent 6e21b01ee6
commit d12c4a935f
2 changed files with 4 additions and 1 deletions

View file

@ -9,3 +9,6 @@ export XDG_DOTFILES_DIR="$HOME/.dotfiles"
# Always source a local profile
[ -r "$HOME/.profile.local" ] && source "$HOME/.profile.local"
# Also check in .local for a profile
[ -r "$HOME/.local/profile" ] && source "$HOME/.local/profile"