Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnhamelink/env-zsh

Automatically load environment variables from a .env file in your current working directory, triggered when you change directory.
https://github.com/johnhamelink/env-zsh

Last synced: about 2 months ago
JSON representation

Automatically load environment variables from a .env file in your current working directory, triggered when you change directory.

Awesome Lists containing this project

README

        

Env-zsh
=======

Automatically load environment variables from a .env file in your current working directory, triggered when you change directory.

NB: the .env file is sourced, so you must make sure that the syntax of the .env file is valid ZSH

How to install
=============

```
cd ~/.oh-my-zsh/plugins
git clone https://github.com/johnhamelink/env-zsh.git env
vi ~/.zshrc && reload

# edit your plugin list by adding 'env'
...
plugins=(git ... env)
...

```

save and you are done \o/