From: martin f. krafft Date: Wed, 15 Mar 2017 23:14:01 +0000 (+1300) Subject: inhibit loading all parts X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/793a56b4149f903b7440218ef207c2d8bec3ed56 inhibit loading all parts --- 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" diff --git a/.zsh/zlogin/01-BREAK_HERE b/.zsh/zlogin/01-BREAK_HERE new file mode 100644 index 0000000..e69de29 diff --git a/.zsh/zlogout/01-BREAK_HERE b/.zsh/zlogout/01-BREAK_HERE new file mode 100644 index 0000000..e69de29 diff --git a/.zsh/zprofile/01-BREAK_HERE b/.zsh/zprofile/01-BREAK_HERE new file mode 100644 index 0000000..e69de29 diff --git a/.zsh/zshenv/01-BREAK_HERE b/.zsh/zshenv/01-BREAK_HERE new file mode 100644 index 0000000..e69de29 diff --git a/.zsh/zshrc/01-BREAK_HERE b/.zsh/zshrc/01-BREAK_HERE new file mode 100644 index 0000000..e69de29