Gal Schlezinger
c29f315f18
allow to automatically enable corepack ( #960 )
...
* 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
2 years ago
Gal Schlezinger
7f9ed6668d
Fix Clippy errors ( #885 )
...
* cargo clippy --fix
* cargo fmt
3 years ago
renovate[bot]
bf122f4e5e
fix(deps): update rust crate reqwest to 0.11.11 ( #753 )
...
* fix(deps): update rust crate reqwest to 0.11.11
* try to fix build
* fix clippy issues
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
3 years ago
citreae535
f71d0642a3
Make fnm create global scoped environment variables in PowerShell ( #667 )
...
* Fix #664
* Remove unused import
3 years ago
Gal Schlezinger
c85ff97f14
remove .unwrap() and .expect() in shell code ( #663 )
...
* remove .unwrap() and .expect() in shell code
this should provide nicer error messages if users get to these situations
* Silent github comments
4 years ago
Gal Schlezinger
0fba201739
Revert from using sysinfo, but only on Unix machines ( #625 )
...
* Add the `ps` code back
* some quality improvements
* cargo clippy --fix
* fix
* correct path
4 years ago
renovate[bot]
b6b0cfa0e6
fix(deps): update rust crate clap to v3 ( #617 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
4 years ago
Gal Schlezinger
207ef22f32
Allow recursive version lookups ( #607 )
4 years ago
Gal Schlezinger
af18f4e2d1
fix clippy
4 years ago
Gal Schlezinger
8bd33dc1b9
First fix for slowess in fnm env ( #576 )
4 years ago
Gal Schlezinger
31d7b291af
Infer shell with `sysinfo` crate ( #573 )
4 years ago
Gal Schlezinger
8d0d78ca24
Allow aliasing to the system version ( #556 )
4 years ago
Dominik Nakamura
74c9b37895
Fix clippy & use musl target on Rust compiler for static compilation ( #554 )
4 years ago
Gal Schlezinger
500c9f5711
Fix Windows CMD `cd` failure on paths with spaces (`use-on-cd`) ( #553 )
4 years ago
naoey
bd037bdca4
Invoke fnm use on startup for PowerShell ( #514 )
4 years ago
Gal Schlezinger
753e899ae6
Call the fnm use-on-cd hook on fish initialization ( #411 )
5 years ago
Gal Schlezinger
93b9059f9d
Escape `cd` calls in Bash's use-on-cd ( #323 )
...
This was suggested by @mirabilos
5 years ago
Gal Schlezinger
322d2b6c1f
Run `fnm use` on shell initialization in Bash ( #322 )
5 years ago
Gal Schlezinger
d93bb4219f
Throw an error instead of panicking when can't infer shell ( #306 )
5 years ago
Max Jacobson
d5bab7e1db
Remove logs from automatic version switching in `--use-on-cd` ( #289 )
5 years ago
Gal Schlezinger
3e41f82323
Fix shell inference in VSCode ( #290 )
...
Fixes #285
5 years ago
Gal Schlezinger
9ba282a705
Rewrite fnm in Rust (merge fnm.rs into fnm) — adding Windows support! ( #246 )
5 years ago