Skip to content

Commit

Permalink
fix: completions getting wrapped in quotes (jdx#3679)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and miguelmig committed Dec 21, 2024
1 parent 1458997 commit 1b389d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,7 @@ complete "plugin" run="mise plugins --core --user"
complete "prefix" run="mise ls-remote {{words[PREV]}}"
complete "setting" run="mise settings --keys"
complete "task" run=r#"
mise tasks --json | jq '.[] | (.name | sub(":"; "\\:")) + ":" + (.description | sub(":"; "\\:"))'
mise tasks --json | jq -r '.[] | (.name | sub(":"; "\\:")) + ":" + (.description | sub(":"; "\\:"))'
"# descriptions=true

complete "tool@version" run=r#"
Expand Down
2 changes: 1 addition & 1 deletion src/assets/mise-extra.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ complete "plugin" run="mise plugins --core --user"
complete "prefix" run="mise ls-remote {{words[PREV]}}"
complete "setting" run="mise settings --keys"
complete "task" run=r#"
mise tasks --json | jq '.[] | (.name | sub(":"; "\\:")) + ":" + (.description | sub(":"; "\\:"))'
mise tasks --json | jq -r '.[] | (.name | sub(":"; "\\:")) + ":" + (.description | sub(":"; "\\:"))'
"# descriptions=true

complete "tool@version" run=r#"
Expand Down

0 comments on commit 1b389d8

Please sign in to comment.