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

fish not_found handler shows error if no bins match "mise-" #4175

Open
jdx opened this issue Jan 21, 2025 · 0 comments
Open

fish not_found handler shows error if no bins match "mise-" #4175

jdx opened this issue Jan 21, 2025 · 0 comments
Labels

Comments

@jdx
Copy link
Owner

jdx commented Jan 21, 2025

I believe this needs to be rewritten to use string-match

- (line 65): No matches for wildcard '"mise-"*'. See `help wildcards-globbing`.
    if test "$argv[1]" != "mise" -a "$argv[1]" != "mise-"*
                                                  ^~~~~~~^
in function 'fish_command_not_found' with arguments 'bzl'
in event handler: handler for generic event 'fish_command_not_found'
fish: Unknown command: bzl

this isn't a major bug since the command won't be found anyhow but we should still fix it to remove the noise

@jdx jdx added the bug label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant