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 the shell value source type has to renamed to command to replace the old one
      • In other words, the shell type is gone and the command field for the command type now takes a string instead of a string[]
    • 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

New Features

  • Add cwd option to command 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