diff --git a/crates/nu-command/src/filters/length.rs b/crates/nu-command/src/filters/length.rs index bebafa1289..0373081b8e 100644 --- a/crates/nu-command/src/filters/length.rs +++ b/crates/nu-command/src/filters/length.rs @@ -25,7 +25,7 @@ impl Command for Length { } fn search_terms(&self) -> Vec<&str> { - vec!["count", "len", "size"] + vec!["count", "len", "size", "wc"] } fn run( diff --git a/crates/nu-command/src/strings/size.rs b/crates/nu-command/src/strings/size.rs index 6f0c29ab43..e63cba7d31 100644 --- a/crates/nu-command/src/strings/size.rs +++ b/crates/nu-command/src/strings/size.rs @@ -25,7 +25,7 @@ impl Command for Size { } fn search_terms(&self) -> Vec<&str> { - vec!["count", "word", "character", "unicode"] + vec!["count", "word", "character", "unicode", "wc"] } fn run(