From 7a94b760193306fd62c07c93e116439f2bd8059b Mon Sep 17 00:00:00 2001 From: William Roe Date: Thu, 23 Feb 2012 14:11:52 +0000 Subject: [PATCH] Add completion for pip install -r - so that it autocompletes requirements filenames --- plugins/pip/_pip | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pip/_pip b/plugins/pip/_pip index 7c1238db7..9892dd19c 100644 --- a/plugins/pip/_pip +++ b/plugins/pip/_pip @@ -59,6 +59,7 @@ case "$words[1]" in _arguments \ '(-U --upgrade)'{-U,--upgrade}'[upgrade all packages to the newest available version]' \ '(-f --find-links)'{-f,--find-links}'[URL for finding packages]' \ + '(-r --requirement)'{-r,--requirement}'[Requirements file for packages to install]:File:_files' \ '(--no-deps --no-dependencies)'{--no-deps,--no-dependencies}'[iIgnore package dependencies]' \ '(--no-install)--no-install[only download packages]' \ '(--no-download)--no-download[only install downloaded packages]' \