CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/local/ssl/share/zsh/4.3.11/functions/
Upload File :
Current File : //proc/2/root/usr/local/ssl/share/zsh/4.3.11/functions/_x_extension

#autoload

local expl

_tags extensions || return 1

(( $+_xe_cache )) || _xe_cache=( "${(@)${(@f)$(xdpyinfo)}[(r)number of extensions:*,-1][2,(r)default screen number:*][1,-2]//[      ]}" )

if [[ "$1" = -a ]]; then
  shift

  _wanted extensions expl 'X extension' \
      compadd "$@" -M 'm:{a-z}={A-Z} r:|-=* r:|=*' - all "$_xe_cache[@]"
else
  [[ "$1" = - ]] && shift

  _wanted extensions expl 'X extension' \
      compadd "$@" -M 'm:{a-z}={A-Z} r:|-=* r:|=*' -a - _xe_cache
fi

Copyright 2K16 - 2K18 Indonesian Hacker Rulez