Automated_Journal_VimWiki/scripts/update_hook.sh

10 lines
173 B
Bash
Executable File

#!/opt/homebrew/bin/bash
[[ -f config.sh ]] && [[ $CONFIG -ne 1 ]] && . config.sh
cd $PROJ_DIR
for script in $SCRIPT_DIR/enabled/**; do
[[ -x $script ]] && $script
done