This little script must be attached at the end of the .zshrc
It checks in the current directory for file .gitemail
and .npmregistry
.
Does not search recursively. I didn't implement that because:
- This fit my purposes at the time of writting
- I'm not super zsh script-savy
- This script is executed on every change of directory (e.g.
cd ../
) and a recursive find might slow the terminal.