Hanspeter,
     This should be fixed now in bash-completion-2.1-3 by the following
changes…

Index: bash-completion-fink.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.7/stable/main/finkinfo/shells/bash-completion-fink.patch,v
retrieving revision 1.2
diff -r1.2 bash-completion-fink.patch
831a832,848
> --- bash-completion-2.1/bash_completion.sh.in.orig 2014-06-06
11:35:20.000000000 -0400
> +++ bash-completion-2.1/bash_completion.sh.in 2014-06-06
11:40:44.000000000 -0400
> @@ -10,5 +10,14 @@
>          # Source completion code.
>          . @pkgdatadir@/bash_completion
>      fi
> +elif [ $bmajor -eq 3 -a $bminor -ge 2 ]; then
> +    # Start fink bash as system bash is in use
> +    @PREFIX@/bin/bash
> +    [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] && \
> +        . "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
> +    if shopt -q progcomp && [ -r @pkgdatadir@/bash_completion ]; then
> +        # Source completion code.
> +        . @pkgdatadir@/bash_completion
> +    fi
>  fi
>  unset bash bmajor bminor
Index: bash-completion.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/shells/
bash-completion.info,v
retrieving revision 1.7
diff -r1.7 bash-completion.info
3c3
< Revision: 2
---
> Revision: 3
17c17
< PatchFile2-MD5: 59f3b302e913e9cbc01d3feec77f04d7
---
> PatchFile2-MD5: 6b513e2d6a4341231e33a1d37e7d51a7
61a62,63
> Modified bash_completion.sh.in to launch fink bash if system bash
> is in use.

          Jack


On Fri, Jun 6, 2014 at 10:45 AM, Hanspeter Niederstrasser <
f...@snaggledworks.com> wrote:

>
> On Fri, June 6, 2014 7:25 am, Jack Howarth wrote:
> > Hanspeter,
> >       Can you provide a short example of repeating this bug with the
> > standard completion files that ship with stock bash-completion? I'll
> > verify
> > that the macports bash/bash-completion behaves the same.
> >        I suspect that all bash 4.3 and bash-completion 2.1 packages might
> > have this glitch and the issue should be filed upstream.
> >       Jack
>
>
> On a completely unmodified version of Fink's bash-completion, with Fink
> loaded via
>
> . /sw/bin/init.sh in ~/.bash_profile
>
> the following used to expand to 'selfupdate' in bash-completion 1.3 but
> now fails with 2.1:
>
> $ fink se<TAB>
>
> CVS expansions are also broken:
>
> $ cvs co<TAB> no longer expands to 'commit'
>
> Hanspeter
>
> --
> More agile than a turtle, stronger than a mouse, nobler than a lettuce
>
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to