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 : |
#compdef a2ps # This is for the GNU version of a2ps. if [[ "$words[1]" != "$_cache_a2ps_cmd" ]]; then local descr _cache_a2ps_cmd="$words[1]" descr=( "${(@)${(f@)$(_call_program features $words[1] --list=features)// / }:#}" ) _cache_a2ps_values=( "${descr[(r)Known [Ss]tyle [Ss]heets*]#* }" "${descr[(r)Known [Ee]ncodings*]#* }" "${descr[(r)Known [Mm]edia*]#* }" "${descr[(r)Known [Pp]rologues*]#* }" "${descr[(r)Known PostScript Printer Descriptions*]#* }" "${descr[(r)Known [Oo]utputs*]#* }" "${descr[(r)Known [Uu]ser [Oo]ptions*]#* }" "${descr[(r)Known Variables*]#* }" ) fi integer ret=1 local context state line expl typeset -A opt_args _arguments \ '(-E --pretty-print=)'{-E-,--pretty-print=}"[enable pretty-printing]::language:(${_cache_a2ps_values[1]})" \ \*{-D+,--define=}"[set or unset variable]:variable:(${_cache_a2ps_values[8]})" \ '(-d -P --printer)'{-P,--printer=}"[send output to printer]:printer:->printers" \ '(-A --file-align)'{-A,--file-align=}'[specify alignment of separate files]:mode:(virtual rank page sheet)' \ '(-a --pages)'{-a-,--pages=}'[select pages to print]:page range' \ '(-q --quiet --silent -v --verbose)'{-q,--quiet,--silent}'[quiet output]' \ '(-q --quiet --silent -v --verbose)'{-v-,--verbose=}'[verbose output]:level' \ '(-b --header)'{-b-,--header=}'[set the page header]:text' \ '(-g)--highlight-level=:highlight:(none normal heavy)' \ '--list=:topic:(features delegations encodings media prologues printers style-sheets user-options variables)' \ "--user-option=:user option:(${_cache_a2ps_values[7]})" \ {-M,--medium=}":medium:(${_cache_a2ps_values[3]})" \ "--ppd=::printer description:(${_cache_a2ps_values[5]})" \ '--statusdict=:statusdict definition' \ '--setpagedevice=:page device definition' \ '--margin=:margin size (PostScript points)' \ '--toc=:format' \ --{{center,left,right}-title.underlay,{,left-,right-}footer}'=:text' \ '*:input file:_files' -- \ '*\*:toggle:(yes no)' \ '*=DIRECTION:direction:(rows columns)' \ '*=TYPE:type:((r\:CR mac\:CR unix\:LF n\:LF nr\:LFCR rn\:CRLF pc\:CRLF any auto))' \ '--version-control*:version control:(none off t numbered nil existing never simple)' \ '--strip-level*:strip level:((0\:everything\ is\ printed 1\:regular\ comments\ are\ not\ printed 2\:strong\ comments\ are\ not\ printed 3\:no\ comment\ is\ printed))' \ '--sides=*:mode:(simplex duplex tumble)' \ '--non-printable-format*:format:(caret space question-mark octal hexa emacs)' \ "--encoding*:encoding:(${_cache_a2ps_values[2]})" \ "--prologue*::prologue:(${_cache_a2ps_values[4]})" && ret=0 if [[ $state = printers ]]; then _wanted printers expl printer compadd -- ${=_cache_a2ps_values[6]} && ret=0 _printers && ret=0 fi return ret