Unnamed repository; edit this file 'description' to name the repository.
contrib(completions/nushell): switch from deprecated `filter` to `where` (#13848)
Poliorcetics 7 months ago
parent 3658e97 · commit 9512cb9
-rw-r--r--contrib/completion/hx.nu2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/hx.nu b/contrib/completion/hx.nu
index e390cdad..30eeb20f 100644
--- a/contrib/completion/hx.nu
+++ b/contrib/completion/hx.nu
@@ -5,7 +5,7 @@
# The help message won't be overridden though, so it will still be present here
def health_categories [] {
- let languages = ^hx --health languages | detect columns | get Language | filter { $in != null }
+ let languages = ^hx --health languages | detect columns | get Language | where { $in != null }
let completions = [ "all", "clipboard", "languages" ] | append $languages
return $completions
}