X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/840b56cae3c2610b13b74a722ae5db372cac43d2..245061236995bd25b213c1bfe2b0015848120265:/.bash_profile?ds=sidebyside diff --git a/.bash_profile b/.bash_profile index d65bb56..61cb5cf 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,7 +1 @@ -include () { - [[ -f "$1" && -r "$1" ]] && source "$1" -} - -include ~/.profile -include ~/.nix-profile/etc/profile.d/nix.sh -[[ $TERM = "eterm-color" || $TERM = "screen" ]] || include ~/.bashrc +if [ -f "$HOME/.profile" ]; then . "$HOME/.profile"; fi