From 32ad1a6e628b26b1c75bfee44706e1cd9637c9e2 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 19 Apr 2019 20:56:55 -0500 Subject: [PATCH] Add basic completions for FreeBSD's `camcontrol` --- share/completions/camcontrol.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 share/completions/camcontrol.fish diff --git a/share/completions/camcontrol.fish b/share/completions/camcontrol.fish new file mode 100644 index 000000000..bac58bcde --- /dev/null +++ b/share/completions/camcontrol.fish @@ -0,0 +1,5 @@ +# The following lists are complete as of FreeBSD 12 + +set -l commands aam apm attrib cmd debug defects devlist eject epc format fwdownload help hpa identify idle inquiry load modepage negotiate opcodes periphlist persist readcap reportluns reprobe rescan reset sanitize security sleep smpcmd smpmaninfo smppc smpphylist smprg standby start stop tags timestamp tur zone + +complete -c camcontrol -n '__fish_is_first_token' -xa "$commands"