mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Autocreate ~/.rbenv skeleton in rbenv-init
This commit is contained in:
parent
4ee92fca43
commit
f84dc27c58
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ if [ -z "$print" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p "${HOME}/.rbenv/{shims,versions}"
|
||||||
|
[ -e "${HOME}/.rbenv/default" ] || echo system > "${HOME}/.rbenv/default"
|
||||||
|
|
||||||
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
|
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
|
||||||
|
|
||||||
if [ "$shell" = "bash" ]; then
|
if [ "$shell" = "bash" ]; then
|
||||||
|
|
Loading…
Reference in a new issue