fish-shell/share/functions/__fish_complete_usb.fish

4 lines
77 B
Fish
Raw Normal View History

function __fish_complete_usb
lsusb | awk '{print $2 ":" $4}'| cut -c1-7
end