Server IP : 51.89.169.208 / Your IP : 216.73.216.211 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/thread-self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#compdef -P pydoc[0-9.]# local curcontext=$curcontext state state_descr line ret=1 typeset -A opt_args local -a args args=( '(- *)-k[search keyword]:keyword' '(-k -g -w *)-p[start web server on specified port]:port number' '(-)-w[write out HTML in current directory]' '(-)*: :->lookup' ) if _pick_variant pydoc3='pydoc3 -b' pydoc2 -h; then args+=( '(-k -w *)-b[start server and open browser]' ) else args+=( '(- *)-g[start gui]' ) fi _arguments -C : $args && return 0 case $state in (lookup) if [[ $words[CURRENT] = */* ]]; then _files && ret=0 else _alternative \ 'keywords:keyword:compadd ${=${${(f)"$(_call_program keywords $words[1] keywords)"}[2,-1]}}' \ 'topics:topic:compadd ${=${${(f)"$(_call_program topics $words[1] topics)"}[2,-1]}}' \ 'modules:module:_python_modules' && ret=0 fi esac return ret