fish-shell/share/functions/__fish_print_lpr_printers.fish

6 lines
140 B
Fish
Raw Normal View History

2012-06-13 12:46:13 +00:00
function __fish_print_lpr_printers --description 'Print lpr printers'
lpstat -p ^ /dev/null | sed 's/^\S*\s\(\S*\)\s\(.*\)$/\1\t\2/'
end