This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
181
Wiki
Activity
Browse Source
Don't duplicate shims in PATH
pull/360/head^2
Tim Pope
11 years ago
committed by
Mislav Marohnić
parent
ea3203dbab
commit
03fa148e81
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libexec/rbenv-init
+ 3
- 1
libexec/rbenv-init
View File
@ -73,7 +73,9 @@ fi
mkdir -p "${RBENV_ROOT}/"{shims,versions}
echo 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
if [[ ":${PATH}:" != *:"${RBENV_ROOT}/shims":* ]]; then
echo 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
fi
case "$shell" in
bash | zsh )
Write
Preview
Loading…
Cancel
Save