bug-bash
[Top][All Lists]
Advanced

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

Re: autocompletion won't work for file names cotnaining an "@" like /tmp


From: Chet Ramey
Subject: Re: autocompletion won't work for file names cotnaining an "@" like /tmp/@world.history
Date: Fri, 16 Mar 2018 09:13:02 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 3/16/18 5:51 AM, Toralf Förster wrote:
> tested at a hardened stable Gentoo Linxu with 4.4_p12.

`@' is one of the characters that breaks words for the completer, so you
can do hostname completion. The current set of completion word break
characters is available as $COMP_WORDBREAKS.

> Other devs reported that autocompeltion won't work too in a construct like 
> "cat $(cat somefil<tab>"

This is a problem with bash-completion (a separate package); it works fine
with the standard (built-in) bash completion.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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