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
241
Wiki
Activity
Browse Source
Autocreate ~/.rbenv skeleton in rbenv-init
pull/360/head^2
Sam Stephenson
15 years ago
parent
4ee92fca43
commit
f84dc27c58
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libexec/rbenv-init
+ 3
- 0
libexec/rbenv-init
View File
@ -50,6 +50,9 @@ if [ -z "$print" ]; then
exit 1
fi
mkdir -p "${HOME}/.rbenv/{shims,versions}"
[ -e "${HOME}/.rbenv/default" ] || echo system > "${HOME}/.rbenv/default"
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
if [ "$shell" = "bash" ]; then
Write
Preview
Loading…
Cancel
Save