Skip to content

<TAB> completion does not work if the first attempt failed #6863

@zx8

Description

@zx8

Using 866d506

Let's say I'm waiting for an external process to create a file (e.g. /var/log/foo.log) but I don't know whether the file has been created yet, I might type something like:

$ less /var/log/fo<TAB>

If the file has not yet been created, I get the equivalent of printf '\a', as expected, and my terminal flashes - no problem here.

However, if I hit <TAB> again to check if the file has been created since my last <TAB>, nothing happens. No screen flash, nothing, as if tab-completion has been temporarily disabled.

In order to get around this, it is necessary to modify the commandline in some way in order to "re-enable" tab-completion, e.g. adding the next character or deleting the current character and hitting <TAB> again, but it would be great if I didn't have to, and instead simply had to hit <TAB> again without having to fudge the commandline first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions