Auto completion in bash Shell

I want the auto completion and syntax highlighting feature like zsh shell in bash shell. How to do it?

1.tell me which one is you’re using ?
2.did you searched anywhere google,stackoverflow, or any other source ?

  1. Bash
  2. Yeah ! I searched but it didn’t give the results (auto completion)

I hope you’re talking about programmable autocomplete.
Can you provide me links for what you are tried that will help me out

Bro, zsh isn’t included by default in Debian because it aims to keep its installation lightweight and minimal. Many users are comfortable with Bash. If you are a beginner, don’t focus on features like fancy colors and auto completion. They’re not essential and may waste your time. Bash already has autocomplete features.

Here’s a source code for syntax highlighting features. You might consider starting your studies by making your own. Good luck!

https://github.com/zsh-users/zsh-syntax-highlighting

But I want to try out the auto-completion (suggestion) in bash

Zsh-syntax-highlighting is built specifically for Zsh and isn’t compatible with Bash, as the two shells manage prompts, syntax, and commands differently. If you’re interested in this feature, switching to Zsh and learning its workings is the best approach.

Bash autocomplete functionality

Start typing a command or file path and press Tab
Bash will complete it if there’s a unique match.

If there are multiple matches, pressing Tab twice will show a list of possible completions.

You can also enhance Bash’s autocomplete features by enabling bash-completion,
which adds advanced autocompletion for commands like git, apt, and more.

You can install it with:

sudo apt-get install bash-completion

Then, add the following to your .bashrc to enable it:

if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi