Skip to content

wrong alias definition when command contains a metacharacter (like "+" or backslash) #8720

Description

@Dieken

fish 3.3.1, macOS Monterey, 12.0.1

$ alias g++ 'grc g++'

$ alias | fgrep g++
alias g++ 'g++ grc g++'

$ alias 'g\+\+' 'grc g++'

$ alias | fgrep g++
alias g++ g\\\\+\\\\+\\\ grc\\\ g++

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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