Poor mans .nvmrc and other preloaded requirements
# ~/.ondirrc
enter ~/Documents/(<your|folder|names|here)/([^/]+)
[[ -s $HOME/<pathtoyour>/ondirrc.sh ]] && . $HOME/<pathtoyour>/ondirrc.sh
# reload for tmux
if [ -n "$TMUX" ]; then
[[ -s $HOME/<pathtoyour>/ondirrc.sh ]] && . $HOME/<pathtoyour>/ondirrc.sh
fi
echo 'checking for .ondirrc...'
if [ -r .ondirrc ]; then
. ./.ondirrc
echo 'loaded .ondirrc'
else
echo 'no .ondirc, goodbye.'
fi
# individual project .ondirrc
export FOO=bar
nvm use stable