From d1b30713fbea61427fb803696eeac5b51c4dad6e Mon Sep 17 00:00:00 2001 From: Matthew Franglen Date: Mon, 27 Jan 2014 15:33:16 +0000 Subject: [PATCH 1/2] Add antigen compatible plugin description --- youtube-dl.plugin.zsh | 1 + 1 file changed, 1 insertion(+) create mode 100644 youtube-dl.plugin.zsh diff --git a/youtube-dl.plugin.zsh b/youtube-dl.plugin.zsh new file mode 100644 index 000000000..5ecc6e124 --- /dev/null +++ b/youtube-dl.plugin.zsh @@ -0,0 +1 @@ +export PATH=${PATH}:$(dirname $0) From c8d8ec8567bc1cb52adb3aacebf990fe3c4db753 Mon Sep 17 00:00:00 2001 From: Matthew Franglen Date: Thu, 30 Jan 2014 15:09:09 +0000 Subject: [PATCH 2/2] Add requested documentation --- youtube-dl.plugin.zsh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/youtube-dl.plugin.zsh b/youtube-dl.plugin.zsh index 5ecc6e124..2a1d7527e 100644 --- a/youtube-dl.plugin.zsh +++ b/youtube-dl.plugin.zsh @@ -1 +1,23 @@ +# This allows the youtube-dl command 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 youtube-dl: +# antigen bundle rg3/youtube-dl +# Bundles installed by antigen are available for use immediately. + +# Update youtube-dl (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 downloaded folder to the end of the $PATH, +# which allows the contained youtube-dl executable to be found. export PATH=${PATH}:$(dirname $0)