The following commit has been merged in the master branch:
commit 733811a7b14f7a510f99977e41d97afa353603c6
Author: Ville Skyttä <[email protected]>
Date:   Fri Dec 11 00:39:59 2009 +0200

    Don't append space after colon in _usergroup (bash 4 only).

diff --git a/bash_completion b/bash_completion
index 55c8919..4a12c93 100644
--- a/bash_completion
+++ b/bash_completion
@@ -697,6 +697,7 @@ _usergroup()
     elif [[ $cur = *:* ]]; then
         COMPREPLY=( $( compgen -g -- ${cur##*[.:]} ) )
     else
+        type compopt &>/dev/null && compopt -o nospace
         COMPREPLY=( $( compgen -S : -u -- "$cur" ) )
     fi
 }

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to