CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //proc/2/root/usr/share/zsh/4.3.11/functions/_zattr

#compdef zgetattr zsetattr zdelattr zlistattr

local state line expl ret=1 REPLY
local -a args privs

case $service in
zgetattr)
_arguments \
  '1:file:_files' \
  '2:attribute:->attrs' \
  '3:parameter'
;;
zsetattr)
_arguments \
  '1:file:_files' \
  '2:attribute:->attrs' \
  '3:value'
;;
zdelattr)
_arguments \
  '1:file:_files' \
  '2:attribute:->attrs'
;;
zlistattr)
_arguments \
  '1:file:_files' \
  '2:parameter'
;;
esac

if [[ $state = attrs ]]; then
  zlistattr $~line[1] REPLY 2> /dev/null
  _wanted attrs expl 'attribute' compadd $REPLY
fi

Copyright 2K16 - 2K18 Indonesian Hacker Rulez