1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-11 15:33:41 +08:00
ohmyzsh/plugins/git-extras
2023-06-26 10:48:17 +02:00
..
git-extras.plugin.zsh feat(git-extras): update completion (2023-06-19 3a258cb) 2023-06-20 08:50:34 +02:00
README.md docs(git-extras): clarify readme (#11776) 2023-06-26 10:48:17 +02:00

git-extras

This plugin provides completion definitions for some of the commands defined by git-extras, which must already be installed.

To use it, add git-extras to the plugins array in your zshrc file:

plugins=(... git-extras)

Setup notes

The completions work by augmenting the _git completion provided by zsh. This only works with the zsh-provided _git, not the _git provided by git itself. If you have both zsh and git installed, you need to make sure that the zsh-provided _git takes precedence.

OS X Homebrew Setup

NOTE: this no longer works on current Homebrew distributions of git. On OS X with Homebrew, you need to install git with brew install git --without-completions. Otherwise, git's _git will take precedence, and you won't see the completions for git-extras commands.