Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'contrib/completion/hx.bash')
-rw-r--r--contrib/completion/hx.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/hx.bash b/contrib/completion/hx.bash
index bad3fa05..37893bf5 100644
--- a/contrib/completion/hx.bash
+++ b/contrib/completion/hx.bash
@@ -13,8 +13,8 @@ _hx() {
return 0
;;
--health)
- languages=$(hx --health all-languages | tail -n '+2' | awk '{print $1}' | sed 's/\x1b\[[0-9;]*m//g')
- mapfile -t COMPREPLY < <(compgen -W """clipboard languages all-languages all $languages""" -- "$cur")
+ languages=$(hx --health | tail -n '+7' | awk '{print $1}' | sed 's/\x1b\[[0-9;]*m//g')
+ mapfile -t COMPREPLY < <(compgen -W """$languages""" -- "$cur")
return 0
;;
esac