projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sway: put monitor back on left
[~bandali/configs]
/
.bash_profile
diff --git
a/.bash_profile
b/.bash_profile
index
d5f7cc9
..
d65bb56
100644
(file)
--- 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
+[[ $TERM = "eterm-color" || $TERM = "screen" ]] || include ~/.bashrc