2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-01 06:43:39 +00:00
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