mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 15:23:53 -05:00
import trivial changes from rbenv 0.4.0
This commit is contained in:
@@ -85,11 +85,12 @@ if [ -z "$no_rehash" ]; then
|
||||
echo 'pyenv rehash 2>/dev/null'
|
||||
fi
|
||||
|
||||
commands=(`pyenv commands --sh`)
|
||||
commands=(`pyenv-commands --sh`)
|
||||
IFS="|"
|
||||
cat <<EOS
|
||||
pyenv() {
|
||||
local command="\$1"
|
||||
typeset command
|
||||
command="\$1"
|
||||
if [ "\$#" -gt 0 ]; then
|
||||
shift
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user