From 04155f5d1afb2313c57daf98109e20bb6f3e22c9 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 22 Jan 2025 17:23:15 +0100 Subject: feat: specify the priority order because why not --- install.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install.zsh') 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 < "\$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" -- cgit v1.2.3