diff options
author | 2025-01-22 17:23:15 +0100 | |
---|---|---|
committer | 2025-01-22 17:23:15 +0100 | |
commit | 04155f5d1afb2313c57daf98109e20bb6f3e22c9 (patch) | |
tree | fb8c350cc00ef52e2a3eade43f7b2c0f0edfff71 /install.zsh | |
parent | a985eb25f2a44dc3d40d29210306e118f19f1784 (diff) | |
download | zuwu-04155f5d1afb2313c57daf98109e20bb6f3e22c9.tar.gz zuwu-04155f5d1afb2313c57daf98109e20bb6f3e22c9.tar.bz2 zuwu-04155f5d1afb2313c57daf98109e20bb6f3e22c9.tar.lz zuwu-04155f5d1afb2313c57daf98109e20bb6f3e22c9.zip |
feat: specify the priority order because why not
Diffstat (limited to 'install.zsh')
-rwxr-xr-x | install.zsh | 4 |
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" |