mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-14 00:48:39 +02:00
git: fix version check
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user