diff --git a/dot b/dot index bfcd9f0..6c2a942 100755 --- a/dot +++ b/dot @@ -41,10 +41,14 @@ get_command() { # only run this *in crate dir* run_crate() { + enabled=1 include ./crate.sh || exit 1 if [ -n "$describe" ]; then echo "desc($(basename $PWD)): $describe" fi + if [ $enabled -ne 1 ]; then + return + fi cmd=$(get_command $1) scripts=${scripts:-"@self @distro"} for s in $scripts; do