renovate[bot]
24ce5755b4
chore(deps): update all non-major dependencies ( #673 )
...
* chore(deps): update all non-major dependencies
* cargo clippy --fix
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
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
3 years ago
Gal Schlezinger
f83fc48251
Remove unwrap in fnm env, make error more readable ( #656 )
3 years ago
Gal Schlezinger
8456c9fdc5
Fix `fnm completions` ( #652 )
...
I think there's a bug in clap.
Related:
* Fixes #651
3 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
3 years ago
Gal Schlezinger
ad0ecd7fff
Use local cache directory instead of temp directory for symlinks ( #638 )
...
* Use local cache directory instead of temp directory for symlinks
still with no cleanup, probably need to have --cleanup-duration=... for fnm env
or another command for cleaning up old symlinks.
* Introduce directories, and support XDG_ directories for cache directories
* cargo clippy --fix
3 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>
3 years ago
Gal Schlezinger
b24ed660b0
Replace `snafu` with `thiserror` ( #630 )
3 years ago
Gal Schlezinger
92a75922d5
Ignore arch in help output ( #627 )
3 years ago
Gal Schlezinger
9526057afa
Create the multishells directory if it is missing ( #626 )
3 years ago
Gal Schlezinger
b206248085
Don't warn on `~/.fnm` yet ( #613 )
3 years ago
Gal Schlezinger
207ef22f32
Allow recursive version lookups ( #607 )
3 years ago
Gal Schlezinger
fcc6cc0e6f
Migrate to Rust 2021 edition ( #606 )
3 years ago
Sam A. Horvath-Hunt
f313e98db3
Respect $XDG_DATA_HOME ( #416 )
3 years ago
Gal Schlezinger
8d30f74a73
Add a user-agent header ( #605 )
3 years ago
Gal Schlezinger
af18f4e2d1
fix clippy
3 years ago
Gal Schlezinger
3fc1184bcf
Revert the change to ureq ( #586 )
3 years ago
Gal Schlezinger
6816ff292c
Add warning to symlink creation ( #584 )
3 years ago
Gal Schlezinger
8bd33dc1b9
First fix for slowess in fnm env ( #576 )
3 years ago
Gal Schlezinger
31d7b291af
Infer shell with `sysinfo` crate ( #573 )
3 years ago
Gal Schlezinger
8d0d78ca24
Allow aliasing to the system version ( #556 )
3 years ago
Dominik Nakamura
74c9b37895
Fix clippy & use musl target on Rust compiler for static compilation ( #554 )
3 years ago
Gal Schlezinger
500c9f5711
Fix Windows CMD `cd` failure on paths with spaces (`use-on-cd`) ( #553 )
3 years ago
Dominik Nakamura
9c2e360520
Replace reqwest with ureq for less dependencies and smaller file size ( #547 )
3 years ago
Sanchith Hegde
5eb5823656
docs(cli): Fix typo ( #545 )
3 years ago
Jonathan Fraimorice
fa72f0c44b
Replace error message with a more useful one ( #544 )
3 years ago
Lucas Weng
f4e4d552d1
Show log level options in help and error message ( #537 )
3 years ago
David Aurelio
4a39428c10
Windows: Use junctions rather than symlinks ( #519 )
4 years ago
Waldir Pimenta
ed2be2c979
More informative log level error message ( #516 )
4 years ago
naoey
bd037bdca4
Invoke fnm use on startup for PowerShell ( #514 )
4 years ago
Alex Munoz
fd584746a6
Add unalias command ( #489 )
4 years ago
renovate[bot]
35d8295e33
fix(deps): update rust crate semver to v1 ( #457 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
4 years ago
Alex Munoz
79ded8f6be
fix: --install-if-missing when using version alias ( #484 )
4 years ago
Patrick Kilgore
440c624263
feat: use arm for aarch64-darwin-node@16 platforms ( #436 )
4 years ago
Gal Schlezinger
f9ee0ecd50
Auto-generate command documentation markdown ( #432 )
4 years ago
Gal Schlezinger
5f2d3a269f
Create version symlinks in a nested directory ( #422 )
4 years ago
Gal Schlezinger
1327286abd
Adding FNM_ARCH as an exported env var from fnm env ( #421 )
...
Continuation of #417 so it will work with `--use-on-cd` as well
4 years ago
Patrick Kilgore
68ba8c6457
Support Apple M1 by installing Rosetta Node builds ( #417 )
4 years ago
Waldir Pimenta
6bd3ab9813
Improve "version not found" error message ( #413 )
4 years ago
Gal Schlezinger
2cfaa39b0b
More meaningful error message when a subprocess is killed ( #414 )
4 years ago
Gal Schlezinger
753e899ae6
Call the fnm use-on-cd hook on fish initialization ( #411 )
4 years ago
Gal Schlezinger
869fb12ada
Ignore LogLevel on `fnm ls` ( #404 )
...
There is no reason to call `fnm ls` if you want a quiet output.
So even on quiet output, `fnm ls` should print all the data. It's not
debugging information, but the actual output of the program.
4 years ago
Gal Schlezinger
dba2b9f8e0
Allow `fnm use` to use a file path ( #403 )
4 years ago
Gal Schlezinger
a2aeeb779d
Allow using filenames in --using= ( #401 )
4 years ago
Gal Schlezinger
ea42957a5f
`fnm exec`: Don't require double-dash ( #398 )
4 years ago
Leaf Rogers
eda3c0cdc5
Fix minor typos ( #397 )
4 years ago
Łukasz Jendrysik
800bba220d
Do not list hidden directories as installed versions ( #384 )
4 years ago
Gal Schlezinger
041e3c9b3c
Make ls and ls-remote aliases visible ( #327 )
4 years ago
Gal Schlezinger
a2ce91da2b
Make config arguments globally available on all commands ( #326 )
...
Fixes #325
4 years ago
Gal Schlezinger
93b9059f9d
Escape `cd` calls in Bash's use-on-cd ( #323 )
...
This was suggested by @mirabilos
4 years ago