fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Dundar Göclpstat864f5ca25

master
1.2 KiB15 linesraw
1__fish_complete_lpr lpstat
2complete -c lpstat -s H -d 'Show server hostname and port'
3complete -c lpstat -s R -d 'Shows ranking of print jobs'
4complete -c lpstat -s W -d 'Specify which jobs to show' -xa 'completed not-completed'
5complete -c lpstat -s a -d 'Shows accepting state of selected printer queues' -xa '(__fish_print_lpr_printers)'
6complete -c lpstat -s c -x -d 'Shows printer classes and the printers that belong to them'
7complete -c lpstat -s d -d 'Shows the current default destination'
8complete -c lpstat -s l -d 'Shows list of printers, classes, or jobs'
9complete -c lpstat -s o -d 'Shows jobs queue on the specified destinations' -xa '(__fish_print_lpr_printers)'
10complete -c lpstat -s p -d 'Shows printers and if they are enabled for printing' -xa '(__fish_print_lpr_printers)'
11complete -c lpstat -s r -d 'Shows whether the CUPS server is running'
12complete -c lpstat -s s -d 'Shows a status summary, including default destination'
13complete -c lpstat -s t -d 'Shows all status information'
14complete -c lpstat -s u -d 'Shows a list of print jobs queued by the specified users' -xa '(__fish_complete_users)'
15complete -c lpstat -s v -d 'Shows printers and what device they are attached to' -xa '(__fish_print_lpr_printers)'