summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-30 09:28:10 -0800
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-30 09:28:10 -0800
commit90dc5e8693992f2e94dcf1d96ce069681778921c (patch)
tree11c24e36ad56b61a25611b0e664ea3ed490943f7
parent1a0648b4a9aa35254b1e9b65cf280e2014e6d317 (diff)
parentc8d8ec8567bc1cb52adb3aacebf990fe3c4db753 (diff)
downloadyoutube-dl-90dc5e8693992f2e94dcf1d96ce069681778921c.tar.gz
youtube-dl-90dc5e8693992f2e94dcf1d96ce069681778921c.tar.xz
youtube-dl-90dc5e8693992f2e94dcf1d96ce069681778921c.zip
Merge pull request #2252 from matthewfranglen/master
Add antigen compatible plugin description
-rw-r--r--youtube-dl.plugin.zsh23
1 files changed, 23 insertions, 0 deletions
diff --git a/youtube-dl.plugin.zsh b/youtube-dl.plugin.zsh
new file mode 100644
index 000000000..2a1d7527e
--- /dev/null
+++ b/youtube-dl.plugin.zsh
@@ -0,0 +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)