Skip to content

Syntax error in man.fish #11955

@harkabeeparolus

Description

@harkabeeparolus

The man.fish function definition contains a syntax error, it has a few set $argv instead of set argv.

Reproduce

Run man : or man .

❯ man :
set: :: invalid variable name. See `help identifiers`

- (line 54):
                set $argv true
                ^
in function 'man' with arguments ':'

(Type 'help set' for related documentation)
No manual entry for :

❯ man .
set: .: invalid variable name. See `help identifiers`

- (line 52):
                set $argv source
                ^
in function 'man' with arguments '.'

(Type 'help set' for related documentation)
No manual entry for .

Environment

❯ fish --version
fish, version 4.1.2
❯ echo $version $FISH_VERSION
4.1.2 4.1.2
❯ uname
Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions