-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use usage through mise automatically if it's not installed in fish shell #1950
Open
onnimonni
wants to merge
3,588
commits into
jdx:main
Choose a base branch
from
onnimonni:automatically-use-usage-through-mise-if-missing-in-fish
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Use usage through mise automatically if it's not installed in fish shell #1950
onnimonni
wants to merge
3,588
commits into
jdx:main
from
onnimonni:automatically-use-usage-through-mise-if-missing-in-fish
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update rust crate toml_edit to 0.22.7 * fix deprecation warnings --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jeff Dickey <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix: display error message from calling `usage` * ci: set GITHUB_TOKEN to cause linting modifications to trigger CI * [MegaLinter] Apply linters fixes --------- Co-authored-by: jdx <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: very basic dependency support * ci(release-plz): removed some debugging logic
This should have happened in the last release but I missed it. This should remain experimental for a few weeks/months while people test it out. It should also have an e2e test for it before moving to non-experimental.
* [bug] Fix `mise x cargo:eza` not installing during run Addresses a bug with `mise exec` where using an unversioned tool reference causes the underlying binary to not be installed on first use. Instead we treat an unqualified tool as having tool@latest and handle that in the else clause. * Revert "[bug] Fix `mise x cargo:eza` not installing during run" This reverts commit 4952e54. * [bug] Fix `mise x cargo:eza` not installing during run Addresses a bug with `mise exec` where using an unversioned tool reference causes the underlying binary to not be installed on first use. Instead we treat an unqualified tool which has no current install as having tool@latest and handle that in the else clause. The desired behavior is: eg mise x cargo:eza - If any version of cargo:eza exists, use it - If no version exists, install latest * fixed clippy warnings * only use @latest default for `mise x` * fixed test_system e2e test --------- Co-authored-by: Jeff Dickey <[email protected]>
this was causing conflicts with the internal linters
ghcr.io/jdx/mise:mise does not seem to be used by anything so I'm removing it
* fix(devcontainer): install python3-venv. This is required by the e2e test of pipx, which uses system packages. * fix(docker:e2e): pass any GITHUB_API_TOKEN to the e2e test container.
…5.0 (jdx#1947) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* refactor: converted just tasks in mise tasks. * fix(ci): install mise instead of just in the test workflow.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey!
I tried to read the documentation but the installing the completions was not straightforward and I ended up seeing the same error as in: #1710
By enabling
usage
automatically through mise this problem goes away 💪 I think it's quite sensible default to run this automatically ifusage
can't be found?If my installation steps below don't make sense and I should have installed
mise
in other way let me know and I will be happy to update the docs too. Thanks for creating this amazing piece of software 💪🙇Steps to reproduce the issue and how I installed
mise
I installed fish in the following way to my MacBook:
I then added following lines into my
~/.config/fish/config.fish
to enable mise automatically:I still wasn't able to get the mise autocompletions by pressing the tab so I then used following command:
Which gave me the original issue above which I was able to fix by using the
mise use -g usage
command.