mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 14:53:53 -05:00
Autocreate ~/.rbenv skeleton in rbenv-init
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user