Skip to content

fix: Always use env::MISE_BIN when calling mise from itself (#4141) - #4943

Merged
jdx merged 2 commits into
jdx:mainfrom
hverlin:hv/4141-use-mise-bin
Apr 26, 2025
Merged

fix: Always use env::MISE_BIN when calling mise from itself (#4141)#4943
jdx merged 2 commits into
jdx:mainfrom
hverlin:hv/4141-use-mise-bin

Conversation

@hverlin

@hverlin hverlin commented Apr 26, 2025

Copy link
Copy Markdown
Contributor
  • Update two places where mise assumed that mise is on PATH (in mise dr --json and mise watch).
  • Update documentation to indicate how one might run tasks in series and mention that using {{mise_bin}} might be a good idea in this case.
  • Add tests

Related discussion: #4141

@hverlin
hverlin force-pushed the hv/4141-use-mise-bin branch from 722cd54 to 6820764 Compare April 26, 2025 12:43
@hverlin
hverlin marked this pull request as ready for review April 26, 2025 13:29
@hverlin
hverlin force-pushed the hv/4141-use-mise-bin branch from 560db76 to 50d4fd3 Compare April 26, 2025 13:30
Comment thread src/cli/mod.rs Outdated
@hverlin
hverlin force-pushed the hv/4141-use-mise-bin branch from 50d4fd3 to 8f372f6 Compare April 26, 2025 13:59
@jdx
jdx enabled auto-merge (squash) April 26, 2025 14:59
@jdx
jdx merged commit 39bced3 into jdx:main Apr 26, 2025
jdx pushed a commit that referenced this pull request Apr 26, 2025
### 🚀 Features

- **(registry)** add `cli53` backend by
[@garysassano](https://github.com/garysassano) in
[#4937](#4937)
- pipx custom repository url by [@acesyde](https://github.com/acesyde)
in [#4945](#4945)

### 🐛 Bug Fixes

- **(hook-env)** path order by [@jdx](https://github.com/jdx) in
[#4946](#4946)
- **(unuse)** allow unusing any version if version not specified by
[@jdx](https://github.com/jdx) in
[#4944](#4944)
- Always use env::MISE_BIN when calling mise from itself by
[@hverlin](https://github.com/hverlin) in
[#4943](#4943)

### 📚 Documentation

- remove outdated note about automatic shim activation with Scoop by
[@jgutierrezre](https://github.com/jgutierrezre) in
[#4941](#4941)

### Chore

- checkout for homebrew bump by [@jdx](https://github.com/jdx) in
[6d7b0f6](6d7b0f6)
- mise.lock by [@jdx](https://github.com/jdx) in
[05c9a24](05c9a24)
- updated deps by [@jdx](https://github.com/jdx) in
[ac5cf5d](ac5cf5d)

### New Contributors

- @garysassano made their first contribution in
[#4937](#4937)
- @jgutierrezre made their first contribution in
[#4941](#4941)
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.

2 participants