Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 504 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 504 Bytes

Dotenv plugin for Nushell

Provides the from dotenv command, that parse a .env file.

open my.env | from dotenv

Install

It is not yet published on cargo, so install it manually:

cargo install --path . --root ~/.config/nushell/plugins

Then register it in the nu config:

register "~/.config/nushell/plugins/bin/nu_plugin_dotenv"

Alternatives

You can achieve a similar result using direnv:

direnv dotenv json my.env | from json