]> git.ipfire.org Git - thirdparty/kmod.git/commit
shell-completion/*/lsmod: add bash/fish/zsh completion
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Sep 2024 15:49:08 +0000 (16:49 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sun, 22 Sep 2024 21:11:57 +0000 (16:11 -0500)
commit257034a4e106ce628682b66e1f3128f64fcd3867
tree0a4c534a49f318ec033a1915086a595fdb841c0a
parentdf6ef6098ca181ce377b2346be307a1414d85c80
shell-completion/*/lsmod: add bash/fish/zsh completion

Note that completions are explicitly aimed to be simple, depending on as
little as possible shell specific helpers.

The goal is that people unfamiliar with these can extend them with zero
ramp-up. Doing things efficiently or "properly" is somewhat secondary.

v2:
 - wire the completions to the autotools build

v3:
 - use SPDX style copyright statements

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/138
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Makefile.am
configure.ac
meson.build
meson_options.txt
shell-completion/bash/lsmod [new file with mode: 0644]
shell-completion/fish/lsmod.fish [new file with mode: 0644]
shell-completion/zsh/_lsmod [new file with mode: 0644]