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
b3a78d2b
Commit
b3a78d2b
authored
Apr 12, 2011
by
Robby Russell
Browse files
Using git-diff instead of git diff
parent
d11fb9d4
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
b3a78d2b
...
@@ -9,7 +9,7 @@ alias gup='git fetch && git rebase'
...
@@ -9,7 +9,7 @@ alias gup='git fetch && git rebase'
compdef _git
gup
=
git-fetch
compdef _git
gup
=
git-fetch
alias
gp
=
'git push'
alias
gp
=
'git push'
compdef _git
gp
=
git-push
compdef _git
gp
=
git-push
gdv
()
{
git
diff
-w
"
$@
"
| view -
}
gdv
()
{
git
-
diff
-w
"
$@
"
| view -
}
compdef _git
gdv
=
git-diff
compdef _git
gdv
=
git-diff
alias
gc
=
'git commit -v'
alias
gc
=
'git commit -v'
compdef _git
gc
=
git-commit
compdef _git
gc
=
git-commit
...
...
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