Skip to content

Commit b339177

Browse files
spearceJunio C Hamano
authored andcommitted
bash: Support unique completion when possible.
Because our use of -o nospace prevents bash from adding a trailing space when a completion is unique and has been fully completed, we need to perform this addition on our own. This (large) change converts all existing uses of compgen to our wrapper __gitcomp which attempts to handle this by tacking a trailing space onto the end of each offered option. Signed-off-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78d4d6a commit b339177

File tree

1 file changed

+91
-99
lines changed

1 file changed

+91
-99
lines changed

0 commit comments

Comments
 (0)