Do not show files in modprobe completions

This commit is contained in:
Siteshwar Vashisht 2013-11-17 01:21:28 +05:30
parent 76ab22f74c
commit 6eb7530f75

View file

@ -2,7 +2,7 @@
# Completions for the modprobe command # Completions for the modprobe command
# #
complete -c modprobe -d Module -a "(find /lib/modules/(uname -r)/kernel -type f | sed -e 's/\/.*\/\([^\/.]*\).*/\1/')" complete -c modprobe --no-files -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 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 config --description "Configuration file" -r
complete -c modprobe -s c -l showconfig --description "Dump configuration file" complete -c modprobe -s c -l showconfig --description "Dump configuration file"