Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'contrib/completion/hx.nu')
-rw-r--r--contrib/completion/hx.nu6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/completion/hx.nu b/contrib/completion/hx.nu
index 816b403a..c93d0b52 100644
--- a/contrib/completion/hx.nu
+++ b/contrib/completion/hx.nu
@@ -2,11 +2,11 @@
#
# NOTE: the `+N` syntax is not supported in Nushell (https://github.com/nushell/nushell/issues/13418)
# so it has not been specified here and will not be proposed in the autocompletion of Nushell.
-# The help message won't be overridden though, so it will still be present here
+# The help message won't be overriden though, so it will still be present here
def health_categories [] {
- let languages = ^hx --health all-languages | detect columns | get Language | where { $in != null }
- let completions = [ "all", "clipboard", "languages", "all-languages" ] | append $languages
+ let languages = ^hx --health languages | detect columns | get Language | filter { $in != null }
+ let completions = [ "all", "clipboard", "languages" ] | append $languages
return $completions
}