Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nekofar/zsh-git-flow-avh

This plugin adds short aliases for the git-flow commands
https://github.com/nekofar/zsh-git-flow-avh

shell zsh zsh-plugin zshrc

Last synced: about 1 month ago
JSON representation

This plugin adds short aliases for the git-flow commands

Awesome Lists containing this project

README

        

# zsh-git-flow-avh

This plugin adds short aliases for the [`git-flow (AVH Edition)`](https://github.com/petervanderdoes/gitflow-avh) commands.

## Usage

Without typing full `git-flow` commands in console, like:

```zsh
git flow feature start some-feature
```

there is more convenient alias:

```zsh
gflfs some-feature
```

## Installation

### Package

1. It is available on Homebrew. Run:

```
brew install nekofar/tap/zsh-git-flow-avh
```

2. 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`:

```zsh
zplug "nekofar/zsh-git-flow-avh"
```

2. Start a new terminal session.

#### Antigen

1. Add the following to your `.zshrc`:

```zsh
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`)

```zsh
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`):

```zsh
plugins=( [plugins...] zsh-git-flow-avh)
```

3. Start a new terminal session.

## Requirements

1. The git-flow tool has to be [installed](https://github.com/petervanderdoes/gitflow-avh#installing-git-flow)
separately.