summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Paleino <d.paleino@gmail.com>2009-02-04 23:38:20 +0100
committerDavid Paleino <d.paleino@gmail.com>2009-02-04 23:38:20 +0100
commit009a8fa1726c851a1ebadb2bd7f1e479ea6f84db (patch)
treed7464d31bcb61e29688a1337aac0202ccbf4772e
parent95266c3a6c1b032b772854b58bc3f37f6d36f61c (diff)
downloadbash-completion-009a8fa1726c851a1ebadb2bd7f1e479ea6f84db.tar.gz
Added comment on how to eventually workaround the bug
-rw-r--r--contrib/cpan2dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cpan2dist b/contrib/cpan2dist
index 6cbf4211..a75e6004 100644
--- a/contrib/cpan2dist
+++ b/contrib/cpan2dist
@@ -14,7 +14,8 @@ _cpan2dist()
case $prev in
--format)
- COMPREPLY=( $( compgen -W '$(perl -MCPANPLUS::Dist -e "print map { \"\$_\n\" } CPANPLUS::Dist->dist_types")' -- $cur ) )
+ # should remove ":" from COMP_WORDBREAKS, but doesn't work (?)
+ COMPREPLY=( $( compgen -W '$(perl -MCPANPLUS::Dist -e "print map { \"\$_\n\" } CPANPLUS::Dist->dist_types")' -- "$cur" ) )
return 0
;;
--@(banlist|ignorelist|modulelist|logfile))