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

4 lines
163 B
Fish

function __fish_print_lsblk_columns --description 'Print available lsblk columns'
lsblk --help | sed '1,/Available columns:/d; /^$/,$d; s/^\s\+//; s/\s/\t/'
end