1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-21 16:53:33 +01: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

@ -31,7 +31,7 @@ fi
# Load main things
if [ -d "$DOTBASH/bash.d" ]; then
for f in colours aliases history 00-marietje prompt_command password-store
for f in colours aliases history prompt_command password-store
do
if [ -r "$DOTBASH/bash.d/$f" ]; then
source "$DOTBASH/bash.d/$f"

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"