fish-shell/share/completions/lpr.fish

12 lines
701 B
Fish
Raw Normal View History

__fish_complete_lpr lpr
complete -c lpr -k -xa "(__fish_complete_suffix .pdf)"
complete -c lpr -k -xa "(__fish_complete_suffix .ps)"
complete -c lpr -s H -x -d 'Specifies an alternate server' -xa '(__fish_print_hostnames)'
complete -c lpr -s C -s J -s T -x -d 'Sets the job name'
#complete -c lpr -o '\\#' -d 'Sets the number of copies to print from 1 to 100' -xa
complete -c lpr -s h -d 'Disables banner printing'
2020-04-22 22:48:36 +08:00
complete -c lpr -s l -d 'Send print file without filtering'
complete -c lpr -s p -d 'Format the print file with a shaded header: date, time, job name, and page no.'
complete -c lpr -s q -d 'Hold job for printing'
2020-04-22 22:48:36 +08:00
complete -c lpr -s r -d 'Delete the specified print file after printing'