zsh-auto-source-file is a zsh plugin that automatically loads the configuration if .zsh_source file is found in the current directory
Inspired by zsh-auto-nvm-use.
Using Antigen
Bundle zsh-auto-source-file in your .zshrc
antigen bundle maximux13/zsh-auto-source-file
As an Oh My ZSH! custom plugin
Clone zsh-auto-source-file into your custom plugins repo.
git clone https://github.com/maximux13/zsh-auto-source-file ~/.oh-my-zsh/custom/plugins/zsh-auto-source-file
Then load as a plugin in your .zshrc
plugins+=(zsh-auto-source-file)