aboutsummaryrefslogtreecommitdiff
path: root/rbenv
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:31:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:31:32 +1200
commit5bad95b47ef6b594a307fdd454641e99bec5947e (patch)
treeb11b35270ab14e4a6c0b62eda1db7f105276f6ca /rbenv
parentRemove disused $OS env var and switch (diff)
downloaddotfiles-5bad95b47ef6b594a307fdd454641e99bec5947e.tar.gz
dotfiles-5bad95b47ef6b594a307fdd454641e99bec5947e.zip
Massively cut down profile scripts
Let's simplify all this a bit.
Diffstat (limited to 'rbenv')
-rw-r--r--rbenv/profile.d/rbenv.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/rbenv/profile.d/rbenv.sh b/rbenv/profile.d/rbenv.sh
index e1e3d85f..522ff247 100644
--- a/rbenv/profile.d/rbenv.sh
+++ b/rbenv/profile.d/rbenv.sh
@@ -1,3 +1,2 @@
-# Add rbenv to PATH if its home directory exists
-[ -d "$HOME"/.rbenv ] || return
+# Add rbenv shims and bindir to PATH
PATH=$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH