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

2012-04-21 Thread Ville Skyttä
On 2012-04-16 23:59, Jonathan Nieder wrote: Hopefully this information helps clarify to what extent the leading underscores in functions exposed by completion scripts are meant or are not meant as a convention. We've discussed what a real API or namespace of bash-completion would look like,

Re: [Bash-completion-devel] [patch] postconf completion

2012-04-21 Thread Ville Skyttä
On 2012-04-03 23:40, Guillaume Rousse wrote: While reviewing a leftover completion in mageia postfix package, I found we already have a postconf completion in completions/postconf. However, I think its content is uselessly complex, and could be simplified with the attached patch. Unless I

[Bash-completion-devel] Bug#668973: Bug#668973: bash-completion: completion for ls misses the --full-time option

2012-04-21 Thread Ville Skyttä
On 2012-04-16 11:16, Paul Wise wrote: AFAICT the completion for ls misses the --full-time option: It does indeed. The line where --full-time is in --help output trips our _longopt function: $ echo --full-timelike -l --time-style=full-iso \ | sed -ne

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

2012-04-21 Thread Felipe Contreras
On Sat, Apr 21, 2012 at 10:20 AM, Ville Skyttä ville.sky...@iki.fi wrote: On 2012-04-16 23:59, Jonathan Nieder wrote: Hopefully this information helps clarify to what extent the leading underscores in functions exposed by completion scripts are meant or are not meant as a convention. We've