From 3c7792dd02fb330d14956b1d5136024cc81be361 Mon Sep 17 00:00:00 2001 From: Mort Yao Date: Thu, 24 Dec 2015 00:03:06 +0100 Subject: [PATCH] add you-get.plugin.zsh (for installation via antigen) --- README.md | 12 +++++++++--- you-get.plugin.zsh | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 you-get.plugin.zsh diff --git a/README.md b/README.md index a88fd16d..cc485927 100644 --- a/README.md +++ b/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: . -### 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. diff --git a/you-get.plugin.zsh b/you-get.plugin.zsh new file mode 100644 index 00000000..70f2f484 --- /dev/null +++ b/you-get.plugin.zsh @@ -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"