mirror of
https://github.com/rbenv/rbenv.git
synced 2024-12-29 13:15:42 +01: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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue