Skip to content

Error for autocompletion of perl command #3856

@WhyCannotIPostAnonymously

Description

Hi,

When I type perl - in fish, it outputs the following and the autocompletion does not work.

$, is not a valid variable in fish.
/usr/share/fish/completions/perl.fish (line 5):                         | sed -e 's,/,::,g; s,\.pm$,,' | sort -u)"
                                                                                                  ^
from sourcing file /usr/share/fish/completions/perl.fish
    called on standard input

in command substitution
    called on standard input

source: Error while reading file “/usr/share/fish/completions/perl.fish”

If I add a slash before the $ in the file, the autocompletion works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedcompletions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions