403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.75
Web Server : Apache
System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : bayspec ( 506)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/zsh/4.3.11/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/zsh/4.3.11/functions/_vim-addons
#compdef vim-addons

local state line cmds ret=1
typeset -A opt_args

_arguments -C \
	{-q,--query}'[be quiet and make the output more parseable]' \
	{-r,--registry-dir}'[set the registry directory]' \
	{-s,--source-dir}'[set addon source directory]' \
	{-t,--target-dir}'[set addon target directory]' \
	{-v,--verbose}'[increase verbosity]' \
	{-y,--system-dir}'[set system-wide target directory]' \
	{-h,--help}'[help]' \
	{-w,--system-wide}'[set target directory to the system-wide one (overrides -t)]' \
	'1: :->cmds' \
	'*: :->args' && ret=0
	
case $state in
  cmds)
    cmds=(
      'install:install the specified addon'
      'remove:remove the specified addon'
      'list:list available addons in registry'
      'status:list the status of addons'
      'disable:disable the specified addons'
      'amend:under the effects of the previous disable'
      'files:list the files composing the specified addon'
      'show:display detailed information about the specified addon'
    )
    _describe -t commands 'vim-addons command' cmds && ret=0
  ;;
  args)
    case $line[1] in
      install)
        _wanted addon expl 'addon' compadd $(command vim-addons -q | awk '$2 == "removed" { print $1 }') && ret=0
      ;;
      amend)
        _wanted addon expl 'addon' compadd $(command vim-addons -q | awk '$2 == "disabled" { print $1 }') && ret=0
      ;;
      remove)
        _wanted addon expl 'addon' compadd $(command vim-addons -q | awk '$2 ~ /disabled|installed/ { print $1 }') && ret=0
      ;;
      files|status|disable|show)
        _wanted addon expl 'addon' compadd $(command vim-addons list) && ret=0
      ;;
    esac
  ;;
esac

return ret

Youez - 2016 - github.com/yon3zu
LinuXploit