bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash completion


From: jonathan MERCIER
Subject: Re: bash completion
Date: Tue, 09 Aug 2011 12:12:15 +0200

Le mardi 09 août 2011 à 10:05 +0800, Clark J. Wang a écrit :
> On Sun, Aug 7, 2011 at 11:35 PM, jonathan MERCIER
> <address@hidden> wrote:
>         I have a bash completion file (see below)
>         It works fine, but i would like add a feature => not expand
>         the flag by
>         a space when it contain '='
>         curently when i do:
>         $ ldc2 -Df<tab>
>         ldc2 -Df=⊔
>         i would like:
>          ldc2 -Df<tab>
>         ldc2 -Df=
>         
>         without space
>         
> 
> Try like this:
> 
> complete -o nospace -F _ldc ldc2

tanks a lot, works fine

[SOLVED]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]