Skip to content

Function wrapping "cd" doesn't get correct completions #4693

@hamon-e

Description

@hamon-e

If i write this function:

function cdtest -w cd
    cd $argv
end

and write cdtest <TAB> it doesn't autocomplete like cd does.
Is there something wrong with my function ?

fish --version
fish, version 2.7.1-708-gea897fcc

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