fish-shell/share/functions/__fish_print_lpr_printers.fish

6 lines
143 B
Fish
Raw Normal View History

function __fish_print_lpr_printers --description 'Print lpr printers'
lpstat -p 2>/dev/null | sed 's/^\S*\s\(\S*\)\s\(.*\)$/\1\t\2/'
end