Browse Source

add pip --user (#6470)

yongxin SHI 7 years ago
parent
commit
a7fb55cf13
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/pip/_pip

+ 1 - 0
plugins/pip/_pip

@@ -72,6 +72,7 @@ case "$words[1]" in
   install)
     _arguments \
       '(-U --upgrade)'{-U,--upgrade}'[upgrade all packages to the newest available version]' \
+      '(--user)--user[install packages to user home]' \
       '(-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]' \