summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash_completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion
index 5e200afe..03e31d4f 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1134,7 +1134,7 @@ _modules()
{
local modpath
modpath=/lib/modules/$1
- COMPREPLY=( $( compgen -W "$( command ls -R $modpath | \
+ COMPREPLY=( $( compgen -W "$( command ls -RL $modpath | \
sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.gz\)\{0,1\}$/\1/p' )" -- "$cur" ) )
}