* be more verbose on shell inference issues in Windows
* add changeset
* fix shell inference with scoop
* change changeset text
* test scoop shims
* don't concat paths
* skip instead of not emitting tests
* setup scoop in windows
* use test.skip
* feat(macos): Support XDG conventions on macOS too
* store base strategy in FnmConfig
* add changeset
---------
Co-authored-by: Utkarsh Gupta <utkarshgupta137@gmail.com>
* This $PATH should be wrapped in quotes so it will work with spaces
* patch changeset for 1066
---------
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* feat: add remote version sorting and filtering
* use `UserVersion` for filtering
* add additional lts filter
* refactor: use `Vec::retain` instead of filtering and collecting
* fix docstring for sort option
* change docstring for filter argument
* refactor vec filtering
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
* refactor to use `sort_by_key` and `reverse`
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
* add latest flag
* make filter an option as well
* move sort into command as it is presentational
* fix getting latest version
* refactors
* update docs/commands.md
* sort upon installation
* fix clippy
* don't mention rust structs in the cli docs
* sort by default
* remove leftover temp dir from test
---------
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* update indicatif version
* add a eprintln after it finishes
* make it prettier
* update progress bar docs
* add changeset
* s/no_progress: true/progress: ProgressConfig::Never/g
* styling the progress bar
* fix test
* fix: support x64-musl
Yes, an easy fix as silly as bypassing the hardcoded check and then set `FNM_NODE_DIST_MIRROR` & `FNM_ARCH` in shell rc.
* Create poor-otters-cheer.md
---------
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* fix(#1006): panic on completions
as far as i can tell, this was broken by the clap upgrade (#991).
* fix: add smoke test for completions
* skip test on windows
* Create dull-bottles-try.md
---------
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* allow to automatically enable corepack
* update command docs
* add changeset
* fix clippy
* don't show the value of corepack
* fix test
* test against more shells
* Make exec handle errors more nicely
* nicer i think
* set corepack as debug
* fix windows-style paths in Bash #390
* fix clippy
* run cygpath on `use` validation too
* trim whitespace
* fix test?
* fix test
* add changeset
* feat: support to install the latest version
* chore: test & fmt & clippy
* docs: update command docs
* docs: update command docs
* Create warm-rice-appear.md
* Update change set to be a minor release
As this is a new feature
* chore: update workflow to install pnpm
* Remove `feat:` from changeset
Because GitHub actions approval button is missing
* run pnpm like other tasks
* Revert "run pnpm like other tasks"
This reverts commit f5f2ca29f1.
we can revert the yarn changes and do it in a different PR
* revert the changes in .github/workflows
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* Make installation script respect $XDG_DATA_HOME
* Add os check to determine INSTALL_DIR default location
* Minor refactor
* Use `test -n` with double quotes
* Fix space in directory name issue
* Create yellow-otters-develop.md
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
* fix: Use correct PATH for npm install test
Resolves: https://github.com/Schniz/fnm/issues/755
* Create soft-laws-doubt.md
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>