fix(install): keyword zsh itself for the plugin lane
This commit is contained in:
parent
ff104ddc49
commit
6972511315
1 changed files with 8 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue