aboutsummaryrefslogtreecommitdiff
path: root/.environment
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2020-05-24 13:23:20 -0700
committerRaul Benencia <rul@kalgan.cc>2020-05-24 13:47:59 -0700
commit3589f3e66769e87831e9f31fb3493064dd3ce73e (patch)
treeb8a9c5f6b85970fa393f1444613a0522c845dd4f /.environment
parent3d72d2bf47ca301f1ca949eb101c8a7d0f6d88c6 (diff)
Pave the way for bin/ in this repo
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