[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
<bioinfornatics@gmail.com>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
- bash completion, jonathan MERCIER, 2011/08/07
- Re: bash completion,
Clark J. Wang <=