Autocreate ~/.rbenv skeleton in rbenv-init
This commit is contained in:
parent
4ee92fca43
commit
f84dc27c58
@ -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…
x
Reference in New Issue
Block a user