mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
add you-get.plugin.zsh (for installation via antigen)
This commit is contained in:
parent
5fa7704620
commit
3c7792dd02
12
README.md
12
README.md
@ -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
3
you-get.plugin.zsh
Normal 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"
|
Loading…
Reference in New Issue
Block a user