emacs: further clean ~/.emacs.d by moving more things to {var,etc}/
[~bandali/configs] / .bash_profile
index d65bb56..61cb5cf 100644 (file)
@@ -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