aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-03-28 12:14:03 -0400
committerRyan Kavanagh <rak@debian.org>2018-03-28 12:14:03 -0400
commit9f108f4b7cbacf1ab05c2f4d885e4cc3eb522b55 (patch)
tree0c242f2eba1d851054a3b65f030523ae1e6ec33d /.zshrc
parentCustomize trackball (diff)
Set GEM_BIN programattically in zshrc
Diffstat (limited to '')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index b81cdf8..aa34798 100644
--- a/.zshrc
+++ b/.zshrc
@@ -51,7 +51,7 @@ export BZR_EMAIL="$NAME <$EMAIL>" # Override email for Bazaar.
export GIT_AUTHOR_NAME=$NAME
export DARCS_EMAIL="$NAME <$EMAIL>"
export QUILT_PATCHES=debian/patches
-export GEM_BIN="${HOME}/.gem/ruby/2.3.0/bin"
+export GEM_BIN="$(gem environment gempath | cut -d':' -f1)/bin"
export PATH=${HOME}/bin:/usr/sbin:/sbin:$PATH:${GEM_BIN}:${HOME}/.local/bin/
export CCACHE_DIR=/ccache
#export HTTP_PROXY="http://localhost:3128/"