diff options
author | Robby Russell <robby@planetargon.com> | 2014-03-08 08:14:16 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-03-08 08:14:16 -0800 |
commit | 7b06ce70a695d78a2c50353b8aa39cfec6f89b7a (patch) | |
tree | fca1394bac49dbde5c8c208236c5a667027e32f6 /plugins | |
parent | cc926e9987157187d442019e315ce49ed19a5f52 (diff) | |
parent | e41b6acd2a34bd2ad2a092b94629c95b1f932f82 (diff) | |
download | zsh-7b06ce70a695d78a2c50353b8aa39cfec6f89b7a.tar.gz zsh-7b06ce70a695d78a2c50353b8aa39cfec6f89b7a.tar.bz2 zsh-7b06ce70a695d78a2c50353b8aa39cfec6f89b7a.zip |
Merge pull request #2366 from chuancong/patch-1
pip: Add support to command "show"
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pip/_pip | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pip/_pip b/plugins/pip/_pip index 967da48ca..7c1238db7 100644 --- a/plugins/pip/_pip +++ b/plugins/pip/_pip @@ -20,6 +20,7 @@ _1st_arguments=( 'bundle:create pybundles (archives containing multiple packages)' 'freeze:output all currently installed packages (exact versions) to stdout' 'help:show available commands' + 'show:show information about installed packages' 'install:install packages' 'search:search PyPI' 'uninstall:uninstall packages' @@ -76,4 +77,7 @@ case "$words[1]" in uninstall) _pip_installed _wanted installed_pkgs expl 'installed packages' compadd -a installed_pkgs ;; + show) + _pip_installed + _wanted installed_pkgs expl 'installed packages' compadd -a installed_pkgs ;; esac |