diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-06-10 18:47:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 18:47:55 +0200 |
commit | 5d20750aaa7bda68be0e0669083b59cbd737d6ee (patch) | |
tree | f88e6c1531177c05c91bdb269254f437ae5adb32 /share/completions/modprobe.fish | |
parent | c4e322d3ad04fbaa9d33bfbb086a7d387011da5e (diff) | |
parent | 4d49c902ac3ad01a7a93cdcb0876ca1dd4cb00fc (diff) |
Merge pull request #3123 from moverest/completion
Extend autocompletion support
Diffstat (limited to 'share/completions/modprobe.fish')
-rw-r--r-- | share/completions/modprobe.fish | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/share/completions/modprobe.fish b/share/completions/modprobe.fish index 8075d437..c3bd9938 100644 --- a/share/completions/modprobe.fish +++ b/share/completions/modprobe.fish @@ -1,9 +1,5 @@ -# -# Completions for the modprobe command -# - complete -c modprobe -n "__fish_contains_opt -s r remove" --no-files -d Module -a "(lsmod | cut -d' ' -f1)" -complete -c modprobe -n "not __fish_contains_opt -s r remove" --no-files -d Module -a "(find /lib/modules/(uname -r)/{kernel,misc} -type f 2>/dev/null | sed -e 's/\/.*\/\([^\/.]*\).*/\1/')" +complete -c modprobe -n "not __fish_contains_opt -s r remove" --no-files -d Module -a "(__fish_print_modules)" 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" |