Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c5493877
Commit
c5493877
authored
Oct 04, 2020
by
Marc Cornellà
Browse files
git: fix version check
parent
d81b4ac9
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
c5493877
# Git version checking
# Git version checking
autoload
-Uz
is-at-least
autoload
-Uz
is-at-least
git_version
=
"
${
(As
:
:
)
$(
git version 2>/dev/null
)
[3]
}
"
git_version
=
"
${
${
(As
:
:
)
$(
git version 2>/dev/null
)
}
[3]
}
"
#
#
# Functions
# Functions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment