fix spellcheck

This commit is contained in:
fatalerrors
2026-05-21 16:11:26 +02:00
parent 02cd9a853e
commit 8b1fc5f01c
2 changed files with 15 additions and 15 deletions

View File

@@ -35,16 +35,16 @@ _complete_set_theme()
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $(compgen -W "-h --help -l --list -p --preview -S --save" -- "$cur") )
mapfile -t COMPREPLY < <(compgen -W "-h --help -l --list -p --preview -S --save" -- "$cur")
return 0
fi
if [[ "$cur" == */* || "$cur" == .* ]]; then
COMPREPLY=( $(compgen -f -X '!*.theme' -- "$cur") )
mapfile -t COMPREPLY < <(compgen -f -X '!*.theme' -- "$cur")
return 0
fi
COMPREPLY=( $(compgen -W "$(_profile_prompt_complete_theme_names)" -- "$cur") )
mapfile -t COMPREPLY < <(compgen -W "$(_profile_prompt_complete_theme_names)" -- "$cur")
}
if [[ $- == *i* && -n ${BASH_VERSION:-} ]]; then