env-select
v0.11.0
v0.11.0
Aug 24 2023 at 17:12 UTC
Breaking Changes
- Remove the concept of native commands
- The
command
value source is effectively gone, and theshell
value source type has to renamed tocommand
to replace the old one- In other words, the
shell
type is gone and thecommand
field for thecommand
type now takes a string instead of astring[]
- In other words, the
- Side effects can now only be shell commands (string literals)
- This is to reduce the overall complexity of the tool. I don't thi nk there's a strong use case for native commands, where you can't just use shell commands
- The
New Features
- Add
cwd
option tocommand
value source type, to force the command to execute in a particular directory - Modifications to the
PATH
variable will be prepended to the existing value, rather than replacing it- This special behavior is based on the variable name, and only applies to
PATH
- This special behavior is based on the variable name, and only applies to