diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 6dbc20caa..d1e0bcbf0 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -95,10 +95,15 @@ alias gmt='git mergetool --no-prompt' compdef _git gmt=git-mergetool alias gg='git gui citool' +compdef _git gg='git gui' alias gga='git gui citool --amend' +compdef _git gga='git gui citool --amend' alias gk='gitk --all --branches' +compdef _git gk='gitk' alias gss='git stash show --text' +compdef _git gss='git stash show' alias gitk-entier-history='gitk --all $(git log -g --pretty=format:%h)' # show complete history, with dangling commits +compdef _git gitk='gitk' # Note: if the commit has been cleaned my 'git gc', the dangling commits older than 2 weeks may have been deleted # alias gitconfig="vim ~/.gitconfig"