fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Shun SakaiAdd `hwinfo` completions316bb88ee

master
1.2 KiB25 linesraw
1# Completions for hwinfo
2
3set -l hardware_items all arch bios block bluetooth braille bridge camera \
4    cdrom chipcard cpu disk dsl dvb fingerprint floppy framebuffer gfxcard \
5    hub ide isapnp isdn joystick keyboard memory mmc-ctrl modem monitor mouse \
6    netcard network partition pci pcmcia pcmcia-ctrl pppoe printer redasd \
7    reallyall scanner scsi smp sound storage-ctrl sys tape tv uml usb \
8    usb-ctrl vbe wlan xen zip
9
10for i in $hardware_items
11    complete -f -c hwinfo -l $i -d "Probe the specified HARDWARE_ITEM"
12end
13
14complete -f -c hwinfo -l short -d "Show only a summary"
15complete -f -c hwinfo -l listmd -d "Report RAID devices"
16complete -f -c hwinfo -l only -d "Show only entries in the device list matching DEVNAME"
17complete -f -c hwinfo -l save-config -d "Store config for a particular device"
18complete -f -c hwinfo -l show-config -d "Show saved config data"
19complete -f -c hwinfo -l map -d "Prints a list of disk name mappings"
20complete -f -c hwinfo -l debug -d "Set debug level"
21complete -f -c hwinfo -l verbose -d "Increase verbosity"
22complete -f -c hwinfo -l log -d "Write log"
23complete -f -c hwinfo -l dump-db -d "Dump hardware database"
24complete -f -c hwinfo -l version -d "Show libhd version"
25complete -f -c hwinfo -l help -d "Show help message"