X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/edb9a03a2fb953b707f286a6d944e6cf0b8fae82..d99f86cd913e15a2dc5792ca382fb5d4b2abeb7b:/.bash_profile diff --git a/.bash_profile b/.bash_profile index d5f7cc9..f41056d 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,2 +1,7 @@ -[[ -f ~/.profile ]] && . ~/.profile -[[ -f ~/.bashrc ]] && . ~/.bashrc +include () { + [[ -f "$1" && -r "$1" ]] && source "$1" +} + +include ~/.profile +include ~/.nix-profile/etc/profile.d/nix.sh +include ~/.bashrc