tallica / sofin-env-zsh

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sofin-Env-zsh

Based on Env-zsh plugin by John Hamelink.

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

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

How to install

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

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

save and you are done \o/

About

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

License:MIT License


Languages

Language:Shell 100.0%