Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dotenv.sh

Loads environment variables from .env in your shell

Installation

$ wget https://github.com/ghraw/gchaincl/dotenv.sh/master/dotenv.sh -O ~/.dotenv.sh

Add the following to your .bashrc, .zshrc or .<whatever>rc:

source ~/.dotenv.sh

Usage

Each time you cd to a directory, dotenv.sh will try to load a .env file and export it's content

TODO

  • Unload loaded variables when you exit directory
  • Optional variable overwriting

About

Loads environment variables from `.env` in your shell

Resources

Stars

43 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages