add you-get.plugin.zsh (for installation via antigen)

This commit is contained in:
Mort Yao 2015-12-24 00:03:06 +01:00
parent 5fa7704620
commit 3c7792dd02
2 changed files with 12 additions and 3 deletions

View File

@ -55,11 +55,17 @@ The official release of `you-get` is distributed on [PyPI](https://pypi.python.o
$ pip3 install you-get
### Option 2: Use a pre-built package (Windows only)
### Option 2: Install via [Antigen](https://github.com/zsh-users/antigen)
Add the following line to your `.zshrc`:
antigen bundle soimort/you-get
### Option 3: Use a pre-built package (Windows only)
Download the `exe` (standalone) or `7z` (all dependencies included) from: <https://github.com/soimort/you-get/releases/latest>.
### Option 3: Download from GitHub
### Option 4: Download from GitHub
You may either download the [stable](https://github.com/soimort/you-get/archive/master.zip) (identical with the latest release on PyPI) or the [develop](https://github.com/soimort/you-get/archive/develop.zip) (more hotfixes, unstable features) branch of `you-get`. Unzip it, and put the directory containing the `you-get` script into your `PATH`.
@ -71,7 +77,7 @@ $ make install
to install `you-get` to a permanent path.
### Option 4: Git clone
### Option 5: Git clone
This is the recommended way for all developers, even if you don't often code in Python.

3
you-get.plugin.zsh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env zsh
alias you-get="noglob $(dirname $0)/you-get"
alias you-vlc="noglob $(dirname $0)/you-get --player vlc"