[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-81-g98fe471

Igor Murzov e-mail at date.by
Sun Dec 4 13:50:15 UTC 2011


The following commit has been merged in the master branch:
commit 98fe4713a3f006b47f697307a68acde6150ca110
Author: Igor Murzov <e-mail at date.by>
Date:   Sun Dec 4 17:31:41 2011 +0400

    _modules: Follow symlinks in /lib/modules/$(uname -r) (Alioth: #313461)

diff --git a/bash_completion b/bash_completion
index 5e200af..03e31d4 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" ) )
 }
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list