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
b31106b3
Unverified
Commit
b31106b3
authored
Apr 09, 2019
by
Marc Cornellà
Committed by
GitHub
Apr 09, 2019
Browse files
git: minor syntax fix
parent
35dc26a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
b31106b3
...
@@ -242,7 +242,7 @@ alias gst='git status'
...
@@ -242,7 +242,7 @@ alias gst='git status'
# use the default stash push on git 2.13 and newer
# use the default stash push on git 2.13 and newer
[[
"
$(
git
--version
2>/dev/null
)
"
=
~
'^git version ([0-9]+.[0-9]+)'
&&
"
$match
"
-ge
'2.13'
]]
\
[[
"
$(
git
--version
2>/dev/null
)
"
=
~
'^git version ([0-9]+.[0-9]+)'
&&
"
$match
"
-ge
'2.13'
]]
\
&&
alias
gsta
=
'git stash push'
&&
alias
gsta
=
'git stash push'
\
||
alias
gsta
=
'git stash save'
||
alias
gsta
=
'git stash save'
alias
gstaa
=
'git stash apply'
alias
gstaa
=
'git stash apply'
...
...
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