From daf9a10e2298ad1ac55e12ce0bd29220a4da8e06 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Mar 2009 11:02:13 +0100 Subject: Added modprobe completion --- etc/completions/_modprobe | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/completions/_modprobe (limited to 'etc/completions/_modprobe') diff --git a/etc/completions/_modprobe b/etc/completions/_modprobe new file mode 100644 index 0000000..50fc066 --- /dev/null +++ b/etc/completions/_modprobe @@ -0,0 +1,7 @@ +#compdef modprobe +typeset expl +_wanted module expl module \ +compadd $( + find /lib/modules/$(uname -r) -type f -name '*.ko' -printf '%f\n' | + sed 's/\.ko$//' +) -- cgit v1.2.3