From 6eb7530f750718e33dbabb61a8280a95fc8a6278 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Sun, 17 Nov 2013 01:21:28 +0530 Subject: [PATCH] Do not show files in modprobe completions --- share/completions/modprobe.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/modprobe.fish b/share/completions/modprobe.fish index 2145be075..540fa5a24 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 "(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 C -l config --description "Configuration file" -r complete -c modprobe -s c -l showconfig --description "Dump configuration file"