Skip to content

Commit

Permalink
fix(completions): set usage cache-key
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Nov 5, 2024
1 parent 8ef5334 commit 5c9192f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
17 changes: 0 additions & 17 deletions .mise.lock

This file was deleted.

2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ direnv = "latest"
actionlint = "latest"
ripgrep = "latest"
"pipx:toml-sort" = "latest"
"cargo:usage-cli" = "1"
"cargo:usage-cli" = "1.2"
#python = { version = "latest", virtualenv = "{{env.HOME}}/.cache/venv" }
#ruby = "3.1"

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/cli/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ impl Completion {
shell.to_string(),
"mise",
"--usage-cmd",
"mise usage"
"mise usage",
"--cache-key",
env!("CARGO_PKG_VERSION")
)
.read()
}
Expand Down

0 comments on commit 5c9192f

Please sign in to comment.