fish-shell/share/functions/__fish_print_lpr_printers.fish
2012-06-13 16:46:13 +04:00

5 lines
140 B
Fish

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