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

Autocompletion does not work for mise <task> shorthand when task name is quoted #3678

Closed
hverlin opened this issue Dec 18, 2024 · 1 comment · Fixed by #3679
Closed

Autocompletion does not work for mise <task> shorthand when task name is quoted #3678

hverlin opened this issue Dec 18, 2024 · 1 comment · Fixed by #3679
Labels

Comments

@hverlin
Copy link
Contributor

hverlin commented Dec 18, 2024

[tasks."test"]
run = "echo 'Running test'"

fish

image

zsh

image

If I select the suggestion, I get

mise \"tes 

When using mise run <task>, the autocompletion works correctly

@hverlin hverlin added the bug label Dec 18, 2024
@hverlin hverlin changed the title Autocompletion does for mise <task> shorthand when task name is quoted Autocompletion does not work for mise <task> shorthand when task name is quoted Dec 18, 2024
@jdx
Copy link
Owner

jdx commented Dec 18, 2024

I can repro, but I have no clue how this is even possible. mise should be treating a quoted version as the same...

jdx added a commit that referenced this issue Dec 18, 2024
@jdx jdx closed this as completed in #3679 Dec 18, 2024
@jdx jdx closed this as completed in 257445c Dec 18, 2024
miguelmig pushed a commit to miguelmig/mise that referenced this issue Dec 21, 2024
* fix: completions getting wrapped in quotes

Fixes jdx#3678

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants