You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ grep shellcheck ~/.config/mise/config.toml shellcheck = "latest"
$ mise ls | grep shellcheckshellcheck 0.9.0shellcheck 0.10.0 ~/.config/mise/config.toml latest
$ mise rm [email protected]mise removed: [email protected] from ~/.config/mise/config.toml
$ grep shellcheck ~/.config/mise/config.toml
# nothing
The output said 0.9.0 was removed from config, but actually latest was removed. In my opinion two things went wrong here:
the output should have said what was actually removed (it was latest, not 0.9.0)
nothing should have actually been removed from the config, because 0.10.0 was the version in effect, and given config of latest, it is newer than 0.9.0
mise doctor in details
version: 2025.1.6 linux-x64 (d9e6de8 2025-01-12)
activated: yes
shims_on_path: no
shell:
/bin/bash
GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
mise unuse seems to not be respecting the version being passed (if it's not an active version at least). Then it prunes everything when it should only prune versions matching the given prefix.
Discussed in #4080
Originally posted by scop January 13, 2025
The output said 0.9.0 was removed from config, but actually latest was removed. In my opinion two things went wrong here:
mise doctor in details
build_info:
Target: x86_64-unknown-linux-gnu
Features: DEFAULT, NATIVE_TLS, OPENSSL
Built: Sun, 12 Jan 2025 13:36:55 +0000
Rust Version: rustc 1.83.0 (90b35a623 2024-11-26)
Profile: release
shell:
/bin/bash
GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
dirs:
cache: ~/.cache/mise
config: ~/.config/mise
data: ~/.local/share/mise
shims: ~/.local/share/mise/shims
state: ~/.local/state/mise
config_files:
~/.config/mise/config.toml
ignored_config_files: (none)
backends:
aqua
asdf
cargo
core
dotnet
gem
go
npm
pipx
spm
ubi
vfox
plugins:
dprint https://github.com/asdf-community/asdf-dprint#45901c9
perl https://github.com/ouest/asdf-perl.git#2b4609b
php https://github.com/asdf-community/asdf-php.git#52c669a
usage https://github.com/jdx/mise-usage.git#fe3888a
toolset:
aqua:UpCloudLtd/[email protected]
aqua:astral-sh/[email protected]
aqua:astral-sh/[email protected]
aqua:cli/[email protected]
aqua:crate-ci/[email protected]
aqua:crate-ci/[email protected]
aqua:daveshanley/[email protected]
aqua:dprint/[email protected]
aqua:evilmartians/[email protected]
aqua:gotestyourself/[email protected]
aqua:gruntwork-io/[email protected]
aqua:hashicorp/[email protected]
aqua:hashicorp/[email protected]
aqua:mvdan/[email protected]
aqua:sigstore/[email protected]
aqua:snyk/[email protected]
asdf:[email protected]
core:[email protected]
ubi:aquaproj/[email protected]
ubi:golangci/[email protected]
ubi:koalaman/[email protected]
ubi:mikefarah/[email protected]
path:
~/.local/share/mise/installs/usage/2.0.3/bin
~/.local/share/mise/installs/go/1.23.4/bin
~/.local/share/mise/installs/uv/0.5.18/uv-x86_64-unknown-linux-musl
~/.local/share/mise/installs/gotestsum/1.12.0
~/.local/share/mise/installs/typos/1.29.4
~/.local/share/mise/installs/gh/2.65.0/gh_2.65.0_linux_amd64/bin
~/.local/share/mise/installs/terraform/1.10.4
~/.local/share/mise/installs/vault/1.18.3
~/.local/share/mise/installs/shfmt/3.10.0
~/.local/share/mise/installs/terragrunt/0.72.0
~/.local/share/mise/installs/ubi-aquaproj-aqua/2.42.2/bin
~/.local/share/mise/installs/snyk/1.1260.0
~/.local/share/mise/installs/yq/4.45.1/bin
~/.local/share/mise/installs/committed/1.1.5
~/.local/share/mise/installs/cosign/2.4.1
~/.local/share/mise/installs/upctl/3.14.0
~/.local/share/mise/installs/ruff/0.9.1/ruff-x86_64-unknown-linux-musl
~/.local/share/mise/installs/lefthook/1.10.3
~/.local/share/mise/installs/vacuum/0.15.3
~/.local/share/mise/installs/golangci-lint/1.63.4/bin
~/.local/share/mise/installs/aqua-dprint-dprint/0.48.0
~/.local/share/mise/installs/shellcheck/0.10.0/bin
~/.cargo/bin
~/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/snap/bin
env_vars:
MISE_USE_TOML=1
MISE_GO_SET_GOBIN=false
MISE_SHELL=bash
settings:
No problems found
The text was updated successfully, but these errors were encountered: