zsh-git-flow-avh
September 20, 2020 ยท View on GitHub
This plugin adds short aliases for the git-flow (AVH Edition) commands.
Usage
Without typing full git-flow commands in console, like:
git flow feature start some-feature
there is more convenient alias:
gflfs some-feature
Installation
Package
- It is available on Homebrew. Run:
brew install nekofar/tap/zsh-git-flow-avh
- Follow the post-install instructions logged to the terminal.
Plugin
You can install it with a zsh plugin manager. Each has their own way of doing things. See your package manager's documentation.
zplug
-
Add the following to your
.zshrc:zplug "nekofar/zsh-git-flow-avh" -
Start a new terminal session.
Antigen
-
Add the following to your
.zshrc:antigen bundle nekofar/zsh-git-flow-avh -
Start a new terminal session.
Oh My Zsh
-
Clone this repository into
$ZSH_CUSTOM/plugins(by default~/.oh-my-zsh/custom/plugins)git clone https://github.com/nekofar/zsh-git-flow-avh \ ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-git-flow-avh -
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc):plugins=( [plugins...] zsh-git-flow-avh) -
Start a new terminal session.
Requirements
- The git-flow tool has to be installed separately.