[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: COMPREPLY scope
From: |
Raphaël Droz |
Subject: |
Re: COMPREPLY scope |
Date: |
Sat, 1 Jun 2013 21:31:49 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, May 17, 2013 at 02:50:09PM -0700, Mario Signorino wrote:
> Another idea is to add a delimitation around the completion result: I
> could trap it easily. But I did not find how do that.
I thought about time some times ago.
My goal was to enclose the burn-cd files completion result with a
text-based gauge showing the amount of files according to the media
size limit.
For this to work I needed some new hooks inside the bash completion
system.
You can find the two patches here:
https://gitorious.org/drzraf/bash/commit/6dfb9b815e3f1a468dc465263c461912188b0565
https://gitorious.org/drzraf/bash/commit/8aa32cea618fc11c99c798a3324f068b44232aa3
and a sample here:
https://gitorious.org/drzraf/bash-completion/blobs/master/completions/burn-cd
You may also give a look at an attempt to add per-completion settings in
the above-mentioned bash repository at e9b65ae and a123ad7
(that was about a per-completion "wordbreaks" setting)
good luck
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: COMPREPLY scope,
Raphaël Droz <=