[Bash-completion-commits] ./current r1319: Added comment on how to eventually workaround the bug

David Paleino d.paleino at gmail.com
Wed Feb 4 22:38:20 UTC 2009


------------------------------------------------------------
revno: 1319
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Wed 2009-02-04 23:38:20 +0100
message:
  Added comment on how to eventually workaround the bug
modified:
  contrib/cpan2dist
-------------- next part --------------
=== modified file 'contrib/cpan2dist'
--- a/contrib/cpan2dist	2009-02-04 21:26:01 +0000
+++ b/contrib/cpan2dist	2009-02-04 22:38:20 +0000
@@ -14,7 +14,8 @@
 
 	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))



More information about the Bash-completion-commits mailing list