diff --git a/crates/nu-cli/src/menus/help_completions.rs b/crates/nu-cli/src/menus/help_completions.rs index 12ad18fd96..c55dca9cf3 100644 --- a/crates/nu-cli/src/menus/help_completions.rs +++ b/crates/nu-cli/src/menus/help_completions.rs @@ -19,6 +19,10 @@ impl NuHelpCompleter { .filter(|(sig, _, _, _)| { sig.name.to_lowercase().contains(&line.to_lowercase()) || sig.usage.to_lowercase().contains(&line.to_lowercase()) + || sig + .search_terms + .iter() + .any(|term| term.to_lowercase().contains(&line.to_lowercase())) || sig .extra_usage .to_lowercase()