On 3/19/19 12:05 AM, Allan McRae wrote:
> On 8/3/19 2:22 pm, Eli Schwartz wrote:
>> The current completions don't properly handle redirection operators, and
>> attempt to complete command completions rather than completing filenames
>> to redirect to.
>>
>> bash-completion provides both _get_comp_words_by_ref and a higher-level
>> wrapper _init_completion, but the latter provides handling of redirection
>> operators, so switch to using that.
>>
>> Signed-off-by: Eli Schwartz <[email protected]>
>> ---
> 
> Can you provide an example here so I can test?

`pacman -Ql > `

Press tab and it will try to complete package names for the -Ql, but
what you actually want to do is complete a filename that is intended to
store a list of packages/files.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to