Server IP : 103.119.228.120 / Your IP : 3.144.90.108 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/ssl/share/zsh/5.0.2/functions/ |
Upload File : |
#autoload (( $+functions[_path_commands_caching_policy] )) || _path_commands_caching_policy() { local file local -a oldp dbfiles # rebuild if cache is more than a week old oldp=( "$1"(Nmw+1) ) (( $#oldp )) && return 0 dbfiles=(/usr/share/man/index.(bt|db|dir|pag)(N) \ /usr/man/index.(bt|db|dir|pag)(N) \ /var/cache/man/index.(bt|db|dir|pag)(N) \ /var/catman/index.(bt|db|dir|pag)(N) \ /usr/share/man/*/whatis(N)) for file in $dbfiles; do [[ $file -nt $1 ]] && return 0 done return 1 } _call_whatis() { case "$(whatis --version)" in (whatis from *) local -A args zparseopts -D -A args s: r: apropos "${args[-r]:-"$@"}" | fgrep "($args[-s]" ;; (*) whatis "$@";; esac } _path_commands() { local need_desc expl ret=1 if zstyle -t ":completion:${curcontext}:" extra-verbose; then local update_policy first if [[ $+_command_descriptions -eq 0 ]]; then first=yes typeset -A -g _command_descriptions fi zstyle -s ":completion:${curcontext}:" cache-policy update_policy [[ -z "$update_policy" ]] && zstyle ":completion:${curcontext}:" \ cache-policy _path_commands_caching_policy if ( [[ -n $first ]] || _cache_invalid command-descriptions ) && \ ! _retrieve_cache command-descriptions; then local line for line in "${(f)$(_call_program command-descriptions _call_whatis -s 1 -r .\\\*\; _call_whatis -s 6 -r .\\\* 2>/dev/null)}"; do [[ -n ${line:#(#b)([^ ]#) #\([^ ]#\)( #\[[^ ]#\]|)[ -]#(*)} ]] && continue; [[ -z $match[1] || -z $match[3] || -z ${${match[1]}:#*:*} ]] && continue; _command_descriptions[$match[1]]=$match[3] done _store_cache command-descriptions _command_descriptions fi (( $#_command_descriptions )) && need_desc=yes fi if [[ -n $need_desc ]]; then typeset -a dcmds descs cmds matches local desc cmd sep compadd "$@" -O matches -k commands for cmd in $matches; do desc=$_command_descriptions[$cmd] if [[ -z $desc ]]; then cmds+=$cmd else dcmds+=$cmd descs+="$cmd:$desc" fi done zstyle -s ":completion:${curcontext}:" list-separator sep || sep=-- zformat -a descs " $sep " $descs descs=("${(@r:COLUMNS-1:)descs}") _wanted commands expl 'external command' \ compadd "$@" -ld descs -a dcmds && ret=0 _wanted commands expl 'external command' compadd "$@" -a cmds && ret=0 else _wanted commands expl 'external command' compadd "$@" -k commands && ret=0 fi if [[ -o path_dirs ]]; then local -a path_dirs path_dirs=(${^path}/*(/N:t)) (( ${#path_dirs} )) && _wanted path-dirs expl 'directory in path' compadd "$@" -a path_dirs && ret=0 if [[ $PREFIX$SUFFIX = */* ]]; then # Find command from path, not hashed _wanted commands expl 'external command' _path_files -W path -g '*(*)' && ret=0 fi fi return $ret } _path_commands "$@"