miaou-bash --doctor

This commit is contained in:
pvincent
2026-09-01 13:53:45 +04:00
parent f135c60fa6
commit 48e3e11695
4 changed files with 60 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ function _miaou_bash {
if ((COMP_CWORD == 1)); then
if [[ $cur =~ ^- ]]; then
# compopt -o nospace
mapfile -t COMPREPLY < <(compgen -W "--self-upgrade --version --help --uninstall" -- "$cur")
mapfile -t COMPREPLY < <(compgen -W "--doctor --self-upgrade --version --help --uninstall" -- "$cur")
else
compopt -o filenames
mapfile -t COMPREPLY < <(compgen -f -- "$cur")