[Top][All Lists]

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

Re: bash completion

From: Clark J. Wang
Subject: Re: bash completion
Date: Tue, 9 Aug 2011 10:05:01 +0800

On Sun, Aug 7, 2011 at 11:35 PM, jonathan MERCIER

> 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

reply via email to

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