fish-shell/share/functions/__fish_print_lpr_printers.fish
Peter Ammon 7659554dea Remove use of caret redirection from share/*
This removes the use of caret redirections from share/completions
and share/functions, in preparation for dropping support in fish.
2018-04-01 13:42:38 -07:00

5 lines
143 B
Fish

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