Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [Bash-completion-devel] [PATCH v2] completion: add new git_complete helper

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:53:38

2012/4/21 Ville Skyttä [off-list ref]:
On 2012-04-21 18:41, Felipe Contreras wrote:
quoted
Still, I don't see the point in avoiding 'git_complete' and making our
lifes more difficult.
I'm not aware of ways it'd make people's lifes more difficult, but if
git_complete is a function intended for completion purposes, I'd
personally not name it git* because it'd interfere for example with
completing git<TAB> by being included in the suggested completions even
though it's never meant to be used that way.  Prefixing for example with
underscore doesn't avoid the problem completely, but makes it less
likely to happen.
That's actually a good point, I forgot that functions are also completed.

Cheers.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help