mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 09:13:33 +01:00
.profile: check ~/.local/profile aswell
This commit is contained in:
parent
6e21b01ee6
commit
d12c4a935f
2 changed files with 4 additions and 1 deletions
2
bash/rc
2
bash/rc
|
@ -31,7 +31,7 @@ fi
|
||||||
|
|
||||||
# Load main things
|
# Load main things
|
||||||
if [ -d "$DOTBASH/bash.d" ]; then
|
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
|
do
|
||||||
if [ -r "$DOTBASH/bash.d/$f" ]; then
|
if [ -r "$DOTBASH/bash.d/$f" ]; then
|
||||||
source "$DOTBASH/bash.d/$f"
|
source "$DOTBASH/bash.d/$f"
|
||||||
|
|
|
@ -9,3 +9,6 @@ export XDG_DOTFILES_DIR="$HOME/.dotfiles"
|
||||||
|
|
||||||
# Always source a local profile
|
# Always source a local profile
|
||||||
[ -r "$HOME/.profile.local" ] && source "$HOME/.profile.local"
|
[ -r "$HOME/.profile.local" ] && source "$HOME/.profile.local"
|
||||||
|
|
||||||
|
# Also check in .local for a profile
|
||||||
|
[ -r "$HOME/.local/profile" ] && source "$HOME/.local/profile"
|
||||||
|
|
Loading…
Reference in a new issue