?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
etc/bash_completion.d/scl.bash 0000666 00000002767 15047302360 0012347 0 ustar 00 # main function bound to scl command
_scl()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="-l --list"
# handle options
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi
local collections=($(find /etc/scl/prefixes -maxdepth 1 -mindepth 1 -type f -exec basename {} \; | sort -u))
# handle scriptlets; the first parameter must be a scriptlet if it is not an option
if ((COMP_CWORD == 1)); then
# get array of scriptlets found throughout collections
local scriptlets=()
for col in ${collections[@]}; do
local prefix=`cat /etc/scl/prefixes/$col`
scriptlets+=($(find $prefix/$col/* -maxdepth 1 -type f -exec basename {} \; | sort -u))
done
scriptlets_str=`echo ${scriptlets[@]} | sed 's/ /\n/g'| sort -u`
COMPREPLY=( $(compgen -W "$scriptlets_str register deregister" -- ${cur}) )
return 0
fi
# handle commands; does not handle commands without single or double quotes
if [[ ${cur} == \'* || ${cur} == \"* ]] ; then
# it is a command do not reply with anything
return 0
fi
# handle collections; if it is not an option or a command, it must be a collection
if [ $prev == "register" ]; then
compopt -o nospace
COMPREPLY=( $(compgen -A directory ${cur}) )
return 0
fi
COMPREPLY=( $(compgen -W "${collections[*]}" -- ${cur}) )
return 0
}
# bind the scl command to the _scl function for completion
complete -F _scl scl