Procházet zdrojové kódy

Fix not printing asterisk for current version in Bash 3

pull/1815/head
Ivan Pozdeev před 3 roky
rodič
revize
00f7d6249a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      libexec/pyenv-versions

+ 1
- 1
libexec/pyenv-versions Zobrazit soubor

@ -106,7 +106,7 @@ exists() {
print_version() {
if [[ ${BASH_VERSINFO[0]} -ge 4 && ${current_versions["$1"]} ]]; then
echo "${hit_prefix}$1 (set by $(pyenv-version-origin))"
elif (( ${BASH_VERSINFO[0]} < 3 )) && exists "$1" "${current_versions[@]}"; then
elif (( ${BASH_VERSINFO[0]} <= 3 )) && exists "$1" "${current_versions[@]}"; then
echo "${hit_prefix}$1 (set by $(pyenv-version-origin))"
else
echo "${miss_prefix}$1"

Načítá se…
Zrušit
Uložit