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/self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#autoload # How to convert XrmOptionDescRec: # XrmOptionDescRec optionDescList[] = { # ... # {option, specifier, argKind, value}, # ... # }; # argKind argument for _xt_arguments # XrmoptionNoArg option # XrmoptionIsArg option # XrmoptionStickyArg option-:message:action # XrmoptionSepArg option:message:action # XrmoptionResArg option:message:_x_resource # XrmoptionSkipArg option:message:action # XrmoptionSkipLine option:*::message:action # XrmoptionSkipNArgs option:message[1]:action[1]:...:message[value]:action[value] # cf. XrmParseCommand(3X11), X11R6.4/xc/lib/Xt/Initialize.c, X(5) local ret long xargs opts rawret nm="$compstate[nmatches]" xargs=( -+{rv,synchronous} -{reverse,iconic} '-background:background color:_x_color' '-bd:border color:_x_color' '-bg:background color:_x_color' '-bordercolor:border color:_x_color' '-borderwidth:border width:_x_borderwidth' '-bw:border width:_x_borderwidth' '-display:display:_x_display' '-fg:foreground color:_x_color' '-font:font:_x_font' '-fn:font:_x_font' '-foreground:foreground color:_x_color' '-geometry:geometry:_x_geometry' '-name:name:_x_name' '-selectionTimeout:selection timeout (milliseconds):_x_selection_timeout' '-title:title:_x_title' '-xnllanguage:locale:_x_locale' '*-xrm:resource:_x_resource' '-xtsessionID:session ID:_xt_session_id' ) long=$argv[(I)--] if (( long )); then argv[long]=( "$xargs[@]" -- ) else set -- "$@" "$xargs[@]" fi opts=() while [[ $1 = -(O*|[CRWsw]) ]]; do opts=($opts $1) [[ $1 = -R ]] && rawret=yes shift done _arguments -R "$opts[@]" "$@" ret=$? if [[ "$ret" = 300 ]]; then compstate[restore]='' [[ -z $rawret ]] && ret=$(( nm == $compstate[nmatches] )) fi return ret