Skip to content

Tab completion doesn't work for fish in second command #365

@CGamesPlay

Description

@CGamesPlay

Hi @sigoden, here's a weird bug report for you.

I have an Argcfile with some commands and I use argc's tab completion in my fish shell (version 3.7.1). The following two commands tab-complete differently:

$ argc
USAGE: Argcfile <COMMAND>

COMMANDS:
  setup    Everything that I ran last time I set up the devcontainer
  start    Start rails server
  console  Start rails console
  test     Run a test

$ argc setup && argc st<tab>
$ argc setup; and argc st<tab>

Only the second tab completes; it seems like the fish completion doesn't properly separate the command on && and ||, which are valid command separators in modern fish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions