aboutsummaryrefslogtreecommitdiff
path: root/.environment
diff options
context:
space:
mode:
Diffstat (limited to '.environment')
-rw-r--r--.environment17
1 files changed, 8 insertions, 9 deletions
diff --git a/.environment b/.environment
index 37c7d55..ee5b0c8 100644
--- a/.environment
+++ b/.environment
@@ -35,13 +35,12 @@ export TMPDIR
TMP=$HOME/tmp
export TMP
-export GOPATH=$HOME/src/go
-PATH="$GOPATH/bin:$PATH"
-
-GEM=~/.gem/ruby/2.3.0/bin/
-# set PATH so it includes user's private bin if it exists
-if [ -d "$GEM" ] ; then
- PATH="$GEM:$PATH"
+GOPATH=$HOME/src/go
+PATH="$PATH:/usr/sbin:/sbin"
+
+# extra
+if [ -d ~/.environment.d/ ]; then
+ for e in $(find ~/.environment.d/ -type l,f); do
+ . $e
+ done
fi
-
-PATH="$HOME/bin:$HOME/.local/bin:$PATH:/usr/sbin:/sbin"
nihil fit ex nihilo