Skip to content

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

License

Notifications You must be signed in to change notification settings

johnhamelink/env-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages