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

Commit d5c8636

Browse files
Add antigen compatible plugin description
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.
1 parent d769a3a commit d5c8636

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

gitflow-avh.plugin.zsh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This allows the gitflow-avh commands to be installed in ZSH using antigen.
2+
# Antigen is a bundle manager. It allows you to enhance the functionality of
3+
# your zsh session by installing bundles and themes easily.
4+
5+
# Antigen documentation:
6+
# http://antigen.sharats.me/
7+
# https://github.com/zsh-users/antigen
8+
9+
# Install gitflow-avh:
10+
# antigen bundle petervanderdoes/gitflow-avh
11+
# Bundles installed by antigen are available for use immediately.
12+
13+
# Update gitflow-avh (and all other antigen bundles):
14+
# antigen update
15+
16+
# The antigen command will download the git repository to a folder and then
17+
# execute an enabling script (this file). The complete process for loading the
18+
# code is documented here:
19+
# https://github.com/zsh-users/antigen#notes-on-writing-plugins
20+
21+
# This specific script just adds the project folder to the PATH. This makes all
22+
# commands available in git.
23+
export PATH="${PATH}":`dirname "${0}"`

0 commit comments

Comments
 (0)