Oh my zsh plugin to run script on change directory.
This plugins sources the .setenv file if it exists in the current directory and if it is executable. The plugin maintains a whitelist of directories for which it does not ask before executing the .setnev script. To add the current directory to whitelist, you can run setenvwhitelist and to remove the current directory from whitelist you can run setenvwhitelist_remove.
- Ensure you have Oh My ZSH installed.
- Clone this repository in $ZSH_CUSTOM/plugins/ directory.
- Enable setenv plugin in $HOME/.zshrc