lib/preview: add full completion

This commit is contained in:
John D Pell
2022-01-25 12:58:22 -08:00
parent a9a40a3cad
commit 00e3955dd3
2 changed files with 19 additions and 11 deletions

6
completion/available/bash-it.completion.bash Executable file → Normal file
View File

@@ -58,7 +58,11 @@ function _bash-it() {
fi
_compreply_candidates
;;
migrate | reload | restart | preview | search | version) ;;
migrate | reload | restart | search | version) ;;
preview)
_bash-it-preview # completes itself
return 0
;;
enable | disable)
if [[ "${verb}" == "enable" ]]; then
suffix="disabled"