mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
Merge pull request #2281 from matthewfranglen/master
Fix #2280: Antigen now links to python script
This commit is contained in:
commit
c0c2ddddcd
|
@ -18,6 +18,7 @@
|
||||||
# code is documented here:
|
# code is documented here:
|
||||||
# https://github.com/zsh-users/antigen#notes-on-writing-plugins
|
# https://github.com/zsh-users/antigen#notes-on-writing-plugins
|
||||||
|
|
||||||
# This specific script just adds the downloaded folder to the end of the $PATH,
|
# This specific script just aliases youtube-dl to the python script that this
|
||||||
# which allows the contained youtube-dl executable to be found.
|
# library provides. This requires updating the PYTHONPATH to ensure that the
|
||||||
export PATH=${PATH}:$(dirname $0)
|
# full set of code can be located.
|
||||||
|
alias youtube-dl="PYTHONPATH=$(dirname $0) $(dirname $0)/bin/youtube-dl"
|
||||||
|
|
Loading…
Reference in a new issue