From d5c8636fdd600c3d5d5ae3084b80c883b98f4a4a Mon Sep 17 00:00:00 2001 From: Matthew Franglen Date: Mon, 5 Feb 2018 19:49:18 +0000 Subject: [PATCH 1/2] 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. --- gitflow-avh.plugin.zsh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gitflow-avh.plugin.zsh diff --git a/gitflow-avh.plugin.zsh b/gitflow-avh.plugin.zsh new file mode 100644 index 00000000..cc11850c --- /dev/null +++ b/gitflow-avh.plugin.zsh @@ -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}"` From 74d51104c0c7f6bc2a4f4d1e797752e440ec873f Mon Sep 17 00:00:00 2001 From: Matthew Franglen Date: Mon, 5 Feb 2018 19:57:15 +0000 Subject: [PATCH 2/2] Suggest using master branch for stable release --- gitflow-avh.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitflow-avh.plugin.zsh b/gitflow-avh.plugin.zsh index cc11850c..f979ae51 100644 --- a/gitflow-avh.plugin.zsh +++ b/gitflow-avh.plugin.zsh @@ -7,7 +7,7 @@ # https://github.com/zsh-users/antigen # Install gitflow-avh: -# antigen bundle petervanderdoes/gitflow-avh +# antigen bundle petervanderdoes/gitflow-avh --branch=master # Bundles installed by antigen are available for use immediately. # Update gitflow-avh (and all other antigen bundles):