summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-08-20 23:53:12 +0200
committerGitHub <noreply@github.com>2016-08-20 23:53:12 +0200
commit76821f506c5f252b9542c1d168e6f30874e5c68d (patch)
tree232c3f172f0c4f257663b513b392d44b908f7663
parent9981214437d97ae2a599f032f88f37f3e44da9a3 (diff)
downloadzsh-76821f506c5f252b9542c1d168e6f30874e5c68d.tar.gz
zsh-76821f506c5f252b9542c1d168e6f30874e5c68d.tar.bz2
zsh-76821f506c5f252b9542c1d168e6f30874e5c68d.zip
Rename `gh` alias (git help) to `ghh`
This conflicts with several tools, including NodeGH [1] and scm_breeze [2]. [1] https://github.com/robbyrussell/oh-my-zsh/issues/5313 [2] https://github.com/robbyrussell/oh-my-zsh/issues/5321 Related: #5130
-rw-r--r--plugins/git/git.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 66f63d817..ae2a07f80 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -151,7 +151,7 @@ compdef _git ggpush=git-checkout
alias ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
alias gpsup='git push --set-upstream origin $(git_current_branch)'
-alias gh='git help'
+alias ghh='git help'
alias gignore='git update-index --assume-unchanged'
alias gignored='git ls-files -v | grep "^[[:lower:]]"'