fish-shell/share/functions/__fish_print_lpr_printers.fish

5 lines
142 B
Fish
Raw Permalink 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