[Top][All Lists]

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

Re: Multiple Words on Bash Programmable Auto Completion

From: Matthew Woehlke
Subject: Re: Multiple Words on Bash Programmable Auto Completion
Date: Thu, 02 Oct 2008 11:37:57 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20080723 Fedora/ Thunderbird/ Mnenhy/

Chet Ramey wrote:
    I don't know if this is a bug or not, but it has to do with programmable
auto completion. Whenever the options have multiple words I don't get what I

You can get filename-like quoting by specifying that readline should treat
the matches returned by the completion function as filenames, using the
`-o filenames' option to complete: complete -o filenames -F f lala.

How come you didn't mention '-o nospace' when I was trying to write a completion for directory names from a non-PWD reference point? ;-)

'-o nospace' just made that completion work MUCH better.

Please do not quote my e-mail address unobfuscated in message bodies.
This .sig is false

reply via email to

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