diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 8255a03ee..ccb9d8461 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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