Skip to content

enerdgumen/nu_plugin_dotenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dotenv plugin for Nushell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages