Loads environment variables from
.envin your shell
$ wget https://github.com/ghraw/gchaincl/dotenv.sh/master/dotenv.sh -O ~/.dotenv.shAdd the following to your .bashrc, .zshrc or .<whatever>rc:
source ~/.dotenv.shEach time you cd to a directory, dotenv.sh will try to load a .env file and export it's content
- Unload loaded variables when you exit directory
- Optional variable overwriting