Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
2e949296
Commit
2e949296
authored
Apr 03, 2011
by
Jakub Nawalaniec
Committed by
Robby Russell
Apr 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Completions are git subdommand-aware now
parent
57f55e69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
git.plugin.zsh
plugins/git/git.plugin.zsh
+10
-8
No files found.
plugins/git/git.plugin.zsh
View file @
2e949296
...
...
@@ -2,15 +2,16 @@
alias
g
=
'git'
compdef
g
=
git
alias
gst
=
'git status'
compdef
gst
=
git
compdef
_git
gst
=
git-status
alias
gl
=
'git pull'
compdef
gl
=
git
compdef
_git
gl
=
git-pull
alias
gup
=
'git fetch && git rebase'
compdef
gup
=
git
alias
gp
=
'git push'
compdef
gp
=
git
compdef
_git
gp
=
git-push
alias
gd
=
'git diff | mate'
compdef
gd
=
git
# WTF is mate??
compdef _git
gd
=
git-diff
alias
gdv
=
'git diff -w "$@" | vim -R -'
compdef
gdv
=
git
alias
gc
=
'git commit -v'
...
...
@@ -18,20 +19,21 @@ compdef gc=git
alias
gca
=
'git commit -v -a'
compdef
gca
=
git
alias
gco
=
'git checkout'
compdef
gco
=
gi
t
compdef
_git
gco
=
git-checkou
t
alias
gb
=
'git branch'
compdef
gb
=
git
compdef
_git
gb
=
git-branch
alias
gba
=
'git branch -a'
compdef
gba
=
git
alias
gcount
=
'git shortlog -sn'
compdef
gcount
=
git
alias
gcp
=
'git cherry-pick'
compdef
gcp
=
git
compdef
_git
gcp
=
git-cherry-pick
alias
glg
=
'git log --stat --max-count=5'
compdef
glg
=
git
compdef
_git
glg
=
git-log
# Git and svn mix
alias
git-svn-dcommit-push
=
'git svn dcommit && git push github master:svntrunk'
compdef git-svn-dcommit-push
=
git
#
# Will return the current branch name
...
...
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