Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
Disable Function : NONE
Directory :  /usr/share/zsh/5.0.2/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/zsh/5.0.2/functions/_set_command
#autoload

# This sets the parameters _comp_command1, _comp_command2 and _comp_command
# in the calling function.

local command

command="$words[1]"

[[ -z "$command" ]] && return

if (( $+builtins[$command] + $+functions[$command] )); then
  _comp_command1="$command"
  _comp_command="$_comp_command1"
elif [[ "$command[1]" = '=' ]]; then
  eval _comp_command2\=$command
  _comp_command1="$command[2,-1]"
  _comp_command="$_comp_command2"
elif [[ "$command" = ..#/* ]]; then
  _comp_command1="${PWD}/$command"
  _comp_command2="${command:t}"
  _comp_command="$_comp_command2"
elif [[ "$command" = */* ]]; then
  _comp_command1="$command"
  _comp_command2="${command:t}"
  _comp_command="$_comp_command2"
else
  _comp_command1="$command"
  _comp_command2="$commands[$command]"
  _comp_command="$_comp_command1"
fi

Hry