aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.environment11
1 files changed, 11 insertions, 0 deletions
diff --git a/.environment b/.environment
index ee5b0c8..dd61ab8 100644
--- a/.environment
+++ b/.environment
@@ -38,9 +38,20 @@ export TMP
GOPATH=$HOME/src/go
PATH="$PATH:/usr/sbin:/sbin"
+if [ -d "$HOME/bin" ]; then
+ PATH="$HOME/bin:$PATH"
+fi
+
# extra
if [ -d ~/.environment.d/ ]; then
for e in $(find ~/.environment.d/ -type l,f); do
. $e
done
fi
+
+# aliases
+if [ -e ~/.alias.d/ ]; then
+ for e in $(find ~/.alias.d/ -type l,f | sort); do
+ . $e
+ done
+fi
nihil fit ex nihilo