Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hashier opened this issue Apr 17, 2020 · 0 comments
Closed

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

hashier opened this issue Apr 17, 2020 · 0 comments
Labels
bug Something that's not working as intended
Milestone

Comments

@hashier
Copy link

hashier commented Apr 17, 2020

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

@krobelus krobelus added the bug Something that's not working as intended label Apr 17, 2020
@krobelus krobelus added this to the fish 3.2.0 milestone Apr 17, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something that's not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants