mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
fix git_compare_version
This commit is contained in:
parent
0c1ba438c9
commit
0b336e8330
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ function git_compare_version() {
|
|||
if [[ $INSTALLED_GIT_VERSION[$i] -lt $INPUT_GIT_VERSION[$i] ]]; then
|
||||
echo -1
|
||||
return 0
|
||||
else
|
||||
echo 1
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
echo 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue