From a22d70718f501579f56af39b6fdb53a597a8168c Mon Sep 17 00:00:00 2001 From: victormanueltn Date: Mon, 16 May 2022 21:21:01 +0200 Subject: [PATCH] Add search terms to build-string command. (#5557) --- crates/nu-command/src/strings/build_string.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/nu-command/src/strings/build_string.rs b/crates/nu-command/src/strings/build_string.rs index 543cc0379d..b8045dbf86 100644 --- a/crates/nu-command/src/strings/build_string.rs +++ b/crates/nu-command/src/strings/build_string.rs @@ -18,6 +18,10 @@ impl Command for BuildString { "Create a string from the arguments." } + fn search_terms(&self) -> Vec<&str> { + vec!["concatenate", "join"] + } + fn signature(&self) -> nu_protocol::Signature { Signature::build("build-string") .rest("rest", SyntaxShape::String, "list of string")