diff options
author | Igor Murzov <e-mail@date.by> | 2011-12-04 17:31:41 +0400 |
---|---|---|
committer | Igor Murzov <e-mail@date.by> | 2011-12-04 17:31:41 +0400 |
commit | 98fe4713a3f006b47f697307a68acde6150ca110 (patch) | |
tree | 2acff3c94c4cf75ca975e8d426c0449922fa1b3a | |
parent | 3b7f785cb53d4b89206990db360110589c52797e (diff) | |
download | bash-completion-98fe4713a3f006b47f697307a68acde6150ca110.tar.gz |
_modules: Follow symlinks in /lib/modules/$(uname -r) (Alioth: #313461)
-rw-r--r-- | bash_completion | 2 |
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" ) ) } |