ae735335e186447b370d299376970a7ea949b474
- Author
- Chad Seeger <chad@manilla.com>
- Committer
- Chad Seeger <chad@manilla.com>
- Date
Message
Kill the compdef; Introduce 'grh' alias for 'git reset HEAD'
Diff
1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
2index ec98d4ad52c273c8500aed6178ca056b1cebab22..ae080662f850261e47729b45541370195a4b54c6 100644
3--- a/plugins/git/git.plugin.zsh
4+++ b/plugins/git/git.plugin.zsh
5@@ -36,8 +36,8 @@ alias ga='git add'
6 compdef _git ga=git-add
7 alias gm='git merge'
8 compdef _git gm=git-merge
9+alias grh='git reset HEAD'
10 alias grhh='git reset HEAD --hard'
11-compdef _git grhh=git-reset-head-hard
12
13 # Git and svn mix
14 alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'