mirror of https://github.com/ohmyzsh/ohmyzsh.git
git: fix version check
parent
d81b4ac9f2
commit
c549387745
|
@ -1,6 +1,6 @@
|
|||
# Git version checking
|
||||
autoload -Uz is-at-least
|
||||
git_version="${(As: :)$(git version 2>/dev/null)[3]}"
|
||||
git_version="${${(As: :)$(git version 2>/dev/null)}[3]}"
|
||||
|
||||
#
|
||||
# Functions
|
||||
|
|
Loading…
Reference in New Issue