Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Trying to autocomplete a command that starts with a slash leads to passing arbitrary options to __fish_describe_command #7809

@ericonr

Description

@ericonr

Fish 3.2.0

Can be seen in this asciinema: https://asciinema.org/a/9241XGmAqWLCrZeh8qO1OLvCd

> -astring escape: Unknown option '-a'

/usr/share/fish/functions/__fish_describe_command.fish (line 1):
in command substitution
        called on line 14 of file /usr/share/fish/functions/__fish_describe_command.fish
in function '__fish_describe_command' with arguments '-a'
in command substitution

(Type 'help string' for related documentation)

Where I pressed tab right after -a in the > -astring escape: Unknown option '-a' line.

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