Provides the from dotenv command, that parse a .env file.
open my.env | from dotenvIt is not yet published on cargo, so install it manually:
cargo install --path . --root ~/.config/nushell/pluginsThen register it in the nu config:
register "~/.config/nushell/plugins/bin/nu_plugin_dotenv"You can achieve a similar result using direnv:
direnv dotenv json my.env | from json