Skip to content

Fix the hint for bringing a removed CLI tool back - #148

Merged
Xpond merged 1 commit into
mainfrom
fix-tool-hint
Dec 4, 2026
Merged

Xpond merged 1 commit into
mainfrom
fix-tool-hint

Conversation

@Xpond

@Xpond Xpond commented Dec 4, 2026

Copy link
Copy Markdown
Owner

After removing a tool, wheely-tool-remove printed mise settings remove disable_tools <tool> && mise reshim. That fails: mise settings remove is an alias of unset, takes only a key, and would clear the whole setting. mise has no command to drop one value from an array setting, so the hint now says to take the tool out of disable_tools in ~/.config/mise/config.toml and run mise reshim. It's split over two lines so it doesn't wrap in the floating terminal.

Testing

  • ./tests/all.sh passes.
  • Removed pi through the wheel and checked the new hint in the floating terminal.

mise settings remove takes only a key and unsets the whole setting, so the hint failed. mise has no command to drop one value from disable_tools: point at the config file instead.
@Xpond
Xpond merged commit 5f67811 into main Dec 4, 2026
1 check passed
@Xpond
Xpond deleted the fix-tool-hint branch December 4, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant