From 69725113150aa549b706417916bb776898ffb0bb Mon Sep 17 00:00:00 2001 From: Phoebus Date: Sat, 26 Sep 2026 19:34:08 -0700 Subject: [PATCH] fix(install): keyword zsh itself for the plugin lane --- installer-rs/crates/phoebus-core/src/system.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/installer-rs/crates/phoebus-core/src/system.rs b/installer-rs/crates/phoebus-core/src/system.rs index 25bd6b4..76fc202 100644 --- a/installer-rs/crates/phoebus-core/src/system.rs +++ b/installer-rs/crates/phoebus-core/src/system.rs @@ -916,9 +916,15 @@ pub fn accept_keywords_mango() -> String { /// a base package, so these keywords are written with the base Portage /// configuration whenever GURU is enabled — not only for the Mango profile. /// This is NOT a global `~amd64` switch. +/// +/// `app-shells/zsh` is keyworded alongside its plugins: GURU's +/// `zsh-autosuggestions-0.7.1` requires `>=app-shells/zsh-5.9.1` (proven by +/// VM install run 4: stable `5.9-r7` predates `5.9.1`, whose builds are +/// `~amd64`), so the lane resolves as a whole or fails closed. pub fn accept_keywords_shell() -> String { let mut o = String::new(); - o.push_str("# Zsh plugins: reviewed, scoped testing keywords (GURU ships these as ~amd64).\n"); + o.push_str("# Zsh lane: reviewed, scoped testing keywords (GURU ships these as ~amd64).\n"); + o.push_str("app-shells/zsh\n"); o.push_str("app-shells/zsh-completions\n"); o.push_str("app-shells/zsh-autosuggestions\n"); o.push_str("app-shells/zsh-syntax-highlighting\n"); @@ -2553,6 +2559,7 @@ mod tests { fn shell_keywords_are_scoped_not_global() { let text = accept_keywords_shell(); for atom in [ + "app-shells/zsh", "app-shells/zsh-completions", "app-shells/zsh-autosuggestions", "app-shells/zsh-syntax-highlighting",