Skip to content

alias functions with escaped (\) char are not displayed as alias #6910

@hashier

Description

@hashier

You can see in the screenshot, if you create an alias without \ the function shows up in alias but not if created with an escaped space.

This is because this regexp is not matching anymore:

set -l output (functions $func | string match -r -- "^function .* --description 'alias (.*)'")

image

fish, version 3.1.0
Mac 10.15.3 (19D76)
iTerm2
No special customization

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