Skip to content

Completion sometimes missing the last token #8175

Closed

Description

@faho

When completing e.g. git log <TAB>, the completions still suggest commands for quite a while (add, apply, archive and so on).

It seems going back to select that log from the completions helps.

Probably caused by a322482.

@ridiculousfish?

Activity

  1. added
    regression
    on Jul 27, 2021
  2. added this to the fish 3.4.0 milestone on Jul 27, 2021
  3. faho commented on Jul 27, 2021

    @faho
    MemberAuthor

    Yeah, bisects to a322482.

  4. faho commented on Jul 27, 2021

    @faho
    MemberAuthor

    Alright, I fixed the immediate issue by just updating the commandline state before completions.

    However, I'm not sure that this problem won't occur in other circumstances - e.g. what if a binding runs commandline anywhere?

    (this is another case where I'd love it if more people actually tested fish before a release, but oh well)

  5. added a commit that references this issue on Dec 12, 2021
  6. locked as resolved and limited conversation to collaborators on Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    regression

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions