Para esse tutorial, vamos utilizar a forma de Habilitar Sugestões Avançadas (Com Oh My Zsh)
Para quem esta usando o shell Zsh e o gerenciador de configuração Oh My Zsh, a explicação baixo irá lhe mostrar Como Habiltiar Sugestões Terminal Ubuntu, o que será feito ao adicionar plugins para funcionalidades mais avançadas.
1) Instale zsh-syntax-highlighting
Para instalar o plugin zsh-syntax-highlighting, clone o repositório do plugin com a url abaixo:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
2) Instale zsh-autosuggestions
Agora instale o zsh-autosuggestions, clonando o repositório do plugin (se você ainda não tem o plugin autosuggestions):
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
3) Adicione os plugins ao ~/.zshrc
Abra o arquivo ~/.zshrc para Habiltiar as Sugestões no Terminal Ubuntu e adicione zsh-syntax-highlighting e zsh-autosuggestions à linha plugins=(…), conforme segue abaixo
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Pronto, agora salve e reset o terminal
Para quem estava procurando Como Habiltiar Sugestões Terminal Ubuntu, agora esta tudo pronto. Salve o arquivo e reabra o terminal ou execute source ~/.zshrc.
source ~/.zshrc