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

This commit is contained in:
Ville Skyttä 2009-12-11 00:39:59 +02:00
parent 8f68300a0d
commit 733811a7b1

View File

@ -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
}