diff --git a/CHANGES b/CHANGES index 0e7cc5e7..6ecf9a62 100644 --- a/CHANGES +++ b/CHANGES @@ -48,6 +48,9 @@ bash-completion (2.x) [ Freddy Vulto ] * Added _get_pword() helper function, thanks to Sung Pae (Alioth: #312030) + [ Ted Stern ] + * Fix modules completion for "(default)" entries. + -- David Paleino Sun, 11 Oct 2009 11:11:57 +0200 bash-completion (1.1) diff --git a/contrib/modules b/contrib/modules index 07b2d699..acc4fb6f 100644 --- a/contrib/modules +++ b/contrib/modules @@ -35,7 +35,7 @@ _module_avail () local modules="$( \ module avail 2>&1 | \ egrep -v '^(-|$)' | \ - xargs printf '%s\n' | sort )" + xargs printf '%s\n' | sed -e 's/(default)//g' | sort )" compgen -W "$modules" -- $1 }