mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-12 13:33:52 -05:00
Stop showing version not installed in precmd (#49)
This commit is contained in:
@@ -61,7 +61,7 @@ versions=("$@")
|
|||||||
if [ -z "${versions}" ]; then
|
if [ -z "${versions}" ]; then
|
||||||
no_shell=1
|
no_shell=1
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
IFS=: versions=($(pyenv-version-name))
|
IFS=: versions=($(pyenv-version-name 2>/dev/null))
|
||||||
IFS="$OLDIFS"
|
IFS="$OLDIFS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user