diff options
author | Thierry Goettelmann <byscripts@gmail.com> | 2013-11-16 20:13:41 +0100 |
---|---|---|
committer | Thierry Goettelmann <byscripts@gmail.com> | 2013-11-16 20:13:41 +0100 |
commit | 76ab22f74cbb7cf7e57b8bbf6cbbb782e8098044 (patch) | |
tree | 36fbb3491b7e58ef752e423fdfd163b191ba30ab /share/completions/modprobe.fish | |
parent | cfbb511d26117c97ab4d0ca4afff52871f226ada (diff) |
Fix modprobe completion for newer modprobe versions
Diffstat (limited to 'share/completions/modprobe.fish')
-rw-r--r-- | share/completions/modprobe.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/modprobe.fish b/share/completions/modprobe.fish index f36af1c6..2145be07 100644 --- a/share/completions/modprobe.fish +++ b/share/completions/modprobe.fish @@ -2,7 +2,7 @@ # Completions for the modprobe command # -complete -c modprobe -d Module -a "(/sbin/modprobe -l | sed -e 's/\/.*\/\([^\/.]*\).*/\1/')" +complete -c modprobe -d Module -a "(find /lib/modules/(uname -r)/kernel -type f | sed -e 's/\/.*\/\([^\/.]*\).*/\1/')" complete -c modprobe -s v -l verbose --description "Print messages about what the program is doing" complete -c modprobe -s C -l config --description "Configuration file" -r complete -c modprobe -s c -l showconfig --description "Dump configuration file" |