On Thursday 22 October 2009, gibbo...@gmail.com wrote:
> Hi,
> attached : the completion for abook,
> it uses compopt (a real pleasure)
> and I discovered the ;;& case symbol
Both compopt and ;;& are bash >= 4 features so this can't go in as is. The
current bash-completion development branch sup
Hi,
I fear to be naive|intrusive|... but
what about doing a bash4 branche ?
(with globstar, compopt, ;;&, and potentially,
mapfile, associative arrays)
but I understand the current need for compatibility.
Attached is a bash 3 (specific / featureless) version.
[bash needs a #define directive :)]
R
Reworked on the wget completion.
One for bash4, the other backward compatible.
If you look at the comments you'll see my
philosophical questions / changelog :
1) For handling long options with bash4 :
_longopt = ; compopt -o nospace
Then at the beginning, before 'case "${prev}"' :
cur=`_get_cw
Processing commands for cont...@bugs.debian.org:
> reassign 545530 bash-completion
Bug #545530 [okular] No bash-completion for .okular document archives
Bug reassigned from package 'okular' to 'bash-completion'.
Bug No longer marked as found in versions kdegraphics/4:4.3.1-1.
>
End of message, sto