Server IP : 51.89.169.208 / Your IP : 216.73.216.94 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/proc/thread-self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#compdef pdftk _pdfwithhandle() { compset -P '(#I)[A-Z]=' _files "$@" -g '(#i)*.pdf' } local expl local -a opts operations opts=(output encrypt_40bit encrypt_128bit allow owner_pw user_pw flatten compress uncompress keep_first_id keep_final_id drop_xfa verbose dont_ask do_ask) operations=(cat attach_files unpack_files burst fill_form background stamp generate_fdf multibackground multistamp dump_data dump_data_fields update_info) case $words[CURRENT-1] in ((input|owner|user)_pw) _message "password, or PROMPT" ;; (allow) #_description permissions expl "permission" #compadd $expl \ _values -s , permissions \ Printing DegradedPrinting ModifyContents Assembly CopyContents \ ScreenReaders ModifyAnnotations FillIn AllFeatures ;; (attach_files) _files "$@" ;; (fill_form) _description files expl 'FDF and XFDF files' _files "$@" $expl -g '(#i)*.(fdf|xfdf)' ;; ((multibackground|background|stamp|multistamp|output)) _description files expl 'PDF files' _files "$@" $expl -g '(#i)*.pdf' ;; (update_info) _files ;; (*) false ;; esac && return 0 if [[ -n $words[(r)(${(j:|:)operations})] ]]; then _description options expl "options" compadd $@ $expl $opts else _tags files operations _alternative \ 'files:PDF files:_pdfwithhandle' \ "operations:operations:($operations)" fi