On Sat, Sep 13, 2008 at 3:24 PM, Aidan Gauland <[EMAIL PROTECTED]> wrote:
> Has anyone here, by any chance, written their own TAB-completions for bash?
>  I want to make a very simple one to only consider files ending in ".image"
> to be completions for the command "squeak" (and another similar one for a
> different program).  So I could type "squeak TAB" and the only image file in
> the current directory will show up.

I haven't played with them, but looking at /etc/bash_completion, it
seems to be something like

complete -f -X '!*.image' squeak

That passes simple testing from my shell ...

-jim

Reply via email to