KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/share/zsh/4.2.6/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/zsh/4.2.6/functions/_bts
#compdef bts

local expl

compset -N '[,.]' || compset -n 2

if [[ CURRENT -eq 1 ]]; then
  _wanted cmd expl 'bts command' compadd show bugs close reopen retitle \
      reassign merge unmerge tag severity forwarded notforwarded help
  return
fi

case "$words[1]" in
  show|close|unmerge|notforwarded)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    else
      _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  bugs)
    if [[ CURRENT -eq 2 ]]; then
      _wanted package expl 'package' _deb_packages avail
      _wanted maintainer expl 'package maintainer' compadd $DEBEMAIL
    fi
    _wanted sep expl 'separator' compadd -S ' ' , .
  ;;
  reopen)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
      _wanted submitter expl 'new submitter' compadd $DEBEMAIL
    else
      _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  retitle)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
     _message -e submitter 'new title'
    else
     _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  reassign)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
     _wanted submitter expl 'new package' _deb_packages avail
    else
     _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  merge)
    _message -e bugnum 'bug number'
    if [[ CURRENT -gt 2 ]]; then
     _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  tag)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
      _wanted operator expl 'operator' compadd - '+' '-' '='
    elif [[ CURRENT -eq 4 ]]; then
      _wanted tag expl 'tag' \
	 compadd patch wontfix moreinfo unreproducible fixed security \
	 potato woody sid help pending upstream lfs sarge experimental \
	 sarge-ignore d-i confirmed ipv6 fixed-in-experimental \
	 fixed-upstream
    else
      _wanted tag expl 'tag' \
	 compadd patch wontfix moreinfo unreproducible fixed security \
	 potato woody sid help pending upstream lfs sarge experimental \
	 sarge-ignore d-i confirmed ipv6 fixed-in-experimental \
	 fixed-upstream
      _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  severity)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
      _wanted severity expl 'severity' \
	  compadd wishlist minor normal serious important critical grave
    else
      _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  forwarded)
    if [[ CURRENT -eq 2 ]]; then
      _message -e bugnum 'bug number'
    elif [[ CURRENT -eq 3 ]]; then
     _wanted upstream expl 'upstream email' _email_addresses -c
    else
     _wanted sep expl 'separator' compadd -S ' ' , .
    fi
  ;;
  help)
  ;&
  *) _wanted sep expl 'separator' compadd -S ' ' , .
  ;;
esac

Anon7 - 2021