X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/fee44c904d0fe9a9809c347b0de86a1a20c61786..45e43e1fd12c19728d53af61feadb1ab9e8d713f:/.zsh/sourcedir?ds=sidebyside diff --git a/.zsh/sourcedir b/.zsh/sourcedir index 4226915..46e5f87 100644 --- a/.zsh/sourcedir +++ b/.zsh/sourcedir @@ -19,6 +19,9 @@ sourcedir() { for f in "$1"/*(.N,@N); do case "$f" in *~|*.bak|*.old|*.sw?|*.zwc|*.disabled) continue;; + *-BREAK_HERE) + zinfo "Breaking out of sourcing file in '$1' due to file '${f##*/}'…" + break;; esac # zdebug " sourcing file $f" source "$f"