The following command will set up bash auto completion on CentOS 8 by installing the bash-completion package via the yum package manager

$ yum install bash-completion

Additionally, you can add programmable completions for Bash with the bash-completion-extras package

$ yum install bash-completion-extras