mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
Automatically create a default of system if it's missing instead of raising an error
This commit is contained in:
@@ -51,7 +51,6 @@ if [ -z "$print" ]; then
|
||||
fi
|
||||
|
||||
mkdir -p "${HOME}/.rbenv/{shims,versions}"
|
||||
[ -e "${HOME}/.rbenv/default" ] || echo system > "${HOME}/.rbenv/default"
|
||||
|
||||
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user