Skip to content

This plugin adds short aliases for the git-flow commands

License

Notifications You must be signed in to change notification settings

nekofar/zsh-git-flow-avh

Repository files navigation

zsh-git-flow-avh

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

  1. It is available on Homebrew. Run:
brew install nekofar/tap/zsh-git-flow-avh
  1. 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

  1. Add the following to your .zshrc:

    zplug "nekofar/zsh-git-flow-avh"
  2. Start a new terminal session.

Antigen

  1. Add the following to your .zshrc:

    antigen bundle nekofar/zsh-git-flow-avh
  2. Start a new terminal session.

Oh My Zsh

  1. 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
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

    plugins=( [plugins...] zsh-git-flow-avh)
  3. Start a new terminal session.

Requirements

  1. The git-flow tool has to be installed separately.