Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Add antigen compatible plugin description
Browse files Browse the repository at this point in the history
This adds antigen support for ZSH. See
https://github.com/zsh-users/antigen for more details.

This allows a user to start using this library using the command:

```bash
antigen bundle matthewfranglen/gitflow-avh
```

Which handles downloading the repository and adding the command to your
path.
  • Loading branch information
matthewfranglen committed Feb 5, 2018
1 parent d769a3a commit d5c8636
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions gitflow-avh.plugin.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This allows the gitflow-avh commands to be installed in ZSH using antigen.
# Antigen is a bundle manager. It allows you to enhance the functionality of
# your zsh session by installing bundles and themes easily.

# Antigen documentation:
# http://antigen.sharats.me/
# https://github.com/zsh-users/antigen

# Install gitflow-avh:
# antigen bundle petervanderdoes/gitflow-avh
# Bundles installed by antigen are available for use immediately.

# Update gitflow-avh (and all other antigen bundles):
# antigen update

# The antigen command will download the git repository to a folder and then
# execute an enabling script (this file). The complete process for loading the
# code is documented here:
# https://github.com/zsh-users/antigen#notes-on-writing-plugins

# This specific script just adds the project folder to the PATH. This makes all
# commands available in git.
export PATH="${PATH}":`dirname "${0}"`

0 comments on commit d5c8636

Please sign in to comment.