Merge pull request #2252 from matthewfranglen/master
[youtube-dl] / youtube-dl.plugin.zsh
1 # This allows the youtube-dl command 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 youtube-dl:
10 # antigen bundle rg3/youtube-dl
11 # Bundles installed by antigen are available for use immediately.
12
13 # Update youtube-dl (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 downloaded folder to the end of the $PATH,
22 # which allows the contained youtube-dl executable to be found.
23 export PATH=${PATH}:$(dirname $0)