aboutsummaryrefslogtreecommitdiffstats
path: root/install.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'install.zsh')
-rwxr-xr-xinstall.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.zsh b/install.zsh
index 755e1fe..c493ebd 100755
--- a/install.zsh
+++ b/install.zsh
@@ -60,6 +60,10 @@ if [[ -f "\$HOME/.zshrc" ]]; then
mv "\$HOME/.zshrc" "\$NEWZSHRC"
fi
<<EOF_ZSHRC > "\$HOME/.zshrc"
+# Loading Order Priority:
+# - distribution packaging target
+# - local system-wide installation target
+# - local per-user installation target
for d in /usr/share/zsh/plugins/zuwu /usr/local/share/zsh/plugins/zuwu "\\\$HOME/.local/share/zsh/plugins/zuwu"; do
if [[ -d "\\\$d" ]]; then
source "\\\$d/zuwu.zsh"