Closed ryanjafari closed 2 years ago
Otherwise seems to work fine... I'd ignore warnings if I knew how to configure that.
It looks like some of these deprecation warnings cannot be fixed while retaining support for the current stable version (like the new lambda syntax). Do you know if there's an option to hide these warnings for the time being?
eval (starship init elvish) 2> /dev/null
seems to work...
Just ran into this issue.
eval (starship init elvish) 2> /dev/null
Seems to be a workaround for right this second.
Completely broken on windows as there is no way to quiet output ala 2> /dev/null
.
eval (starship init elvish) 2> nul
works on Windows, or you could try using the init script from #3310.
Very weird! I actually tried this yesterday with 2> NUL
and for whatever reason, it didn't work. Beginning to think I didn't refresh the environment now...
Either way, thanks!
Current Behavior
Expected Behavior
No deprecation warnings
Additional context/Screenshots
A little ahead here but I wanted to make a note of it, in elvish 0.18.0 (unreleased) and I think versions >= 0.17.0, starship yields a slew of deprecation warnings when bootstrapping starship. To be expected, elvish changed some stuff. They provide to automate the upgrade but in my experience you probably want to do this manually.
Possible Solution
Mentioned above
Environment
Relevant Shell Configuration
Starship Configuration