[Bash-completion-commits] ./current r1316: Added brctl completion

David Paleino d.paleino at gmail.com
Wed Feb 4 21:06:28 UTC 2009


------------------------------------------------------------
revno: 1316
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Wed 2009-02-04 22:06:28 +0100
message:
  Added brctl completion
renamed:
  to_review/brctl => contrib/brctl
modified:
  debian/changelog
  contrib/brctl
-------------- next part --------------
=== renamed file 'to_review/brctl' => 'contrib/brctl'
--- a/to_review/brctl	2009-01-19 20:48:38 +0000
+++ b/contrib/brctl	2009-02-04 21:06:28 +0000
@@ -9,7 +9,8 @@
 	local cur command
 
 	COMPREPLY=()
-	cur=${COMP_WORDS[COMP_CWORD]}
+	cur=`_get_cword`
+	command=${COMP_WORDS[1]}
 
 	case $COMP_CWORD in
 		1)
@@ -19,7 +20,6 @@
 				showmacs showstp stp" -- $cur ) )
 			;;
 		2)
-			command=${COMP_WORDS[1]}
 			case $command in
 				show)
 					;;
@@ -30,7 +30,6 @@
 			esac
 			;;
 		3)
-			command=${COMP_WORDS[1]}
 			case $command in
 				@(add|del)if)
 					_configured_interfaces

=== modified file 'debian/changelog'
--- a/debian/changelog	2009-02-04 20:53:28 +0000
+++ b/debian/changelog	2009-02-04 21:06:28 +0000
@@ -4,6 +4,7 @@
   * Make bibtex complete on .aux files
   * Add .xvid and .XVID to player completion
   * Added cowsay/cowthink completion
+  * Added brctl completion
 
   [ David Paleino ]
   * Added .kar to Timidity completion.
@@ -123,7 +124,7 @@
   * Prevent completion dir from being sourced twice if
     BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433) 
 
- -- David Paleino <d.paleino at gmail.com>  Wed, 04 Feb 2009 21:42:40 +0100
+ -- David Paleino <d.paleino at gmail.com>  Wed, 04 Feb 2009 22:05:55 +0100
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list