File tree Expand file tree Collapse file tree 5 files changed +41
-0
lines changed Expand file tree Collapse file tree 5 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ bashcomp_DATA = 2to3 \
198198 lpr \
199199 lrzip \
200200 lsof \
201+ lsusb \
201202 lua \
202203 luac \
203204 luseradd \
Original file line number Diff line number Diff line change 1+ # lsusb(8) completion -*- shell-script -*-
2+
3+ _lsusb ()
4+ {
5+ local cur prev words cword
6+ _init_completion || return
7+
8+ case $prev in
9+ -h|--help|-V|--version|-s|-D)
10+ return
11+ ;;
12+ esac
13+
14+ if [[ $cur == -* ]]; then
15+ COMPREPLY=( $( compgen -W ' $( _parse_help "$1" )' -- " $cur " ) )
16+ fi
17+ } &&
18+ complete -F _lsusb lsusb
19+
20+ # ex: filetype=sh
Original file line number Diff line number Diff line change 1+ assert_source_completions lsusb
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ RUN dpkg --add-architecture i386 && \
192192 unrar \
193193 units \
194194 unixodbc \
195+ usbutils \
195196 valgrind \
196197 vorbis-tools \
197198 vpnc \
Original file line number Diff line number Diff line change 1+ proc setup {} {
2+ save_env
3+ }
4+
5+
6+ proc teardown {} {
7+ assert_env_unmodified
8+ }
9+
10+
11+ setup
12+
13+
14+ assert_complete_any "lsusb -"
15+ sync_after_int
16+
17+
18+ teardown
You can’t perform that action at this time.
0 commit comments