mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
git: fix version check
This commit is contained in:
parent
d81b4ac9f2
commit
c549387745
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue