diff options
author | chuancong <chuancong@users.noreply.github.com> | 2013-12-19 11:24:38 -0800 |
---|---|---|
committer | chuancong <chuancong@users.noreply.github.com> | 2013-12-19 11:24:38 -0800 |
commit | e41b6acd2a34bd2ad2a092b94629c95b1f932f82 (patch) | |
tree | dbf6fe4c0e7416f259a1fb56c75cb7ab578da636 /plugins/pip | |
parent | a38af27991d15d14ac4ca55c919bb694d7eafb7a (diff) | |
download | zsh-e41b6acd2a34bd2ad2a092b94629c95b1f932f82.tar.gz zsh-e41b6acd2a34bd2ad2a092b94629c95b1f932f82.tar.bz2 zsh-e41b6acd2a34bd2ad2a092b94629c95b1f932f82.zip |
Add support to command "show"
Diffstat (limited to 'plugins/pip')
-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 |