mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Change git cherry-pick alias to 'gchp'
If GNU coreutils are installed as gmv, gcp, etc. via Homebrew, and cp is aliased to gcp as is Homebrew's wont, then the tab completion for cp will fail oddly when the git plugin is enabled, since zsh is completing for `git cherry-pick` but executing `gcp`.
This commit is contained in:
parent
762b55bb2b
commit
745fb84830
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ alias gba='git branch -a'
|
|||
compdef _git gba=git-branch
|
||||
alias gcount='git shortlog -sn'
|
||||
compdef gcount=git
|
||||
alias gcp='git cherry-pick'
|
||||
compdef _git gcp=git-cherry-pick
|
||||
alias gchp='git cherry-pick'
|
||||
compdef _git gchp=git-cherry-pick
|
||||
alias glg='git log --stat --max-count=5'
|
||||
compdef _git glg=git-log
|
||||
alias glgg='git log --graph --max-count=5'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue