Install zsh-autosuggestions in Linux
Zsh is a shell designed for interactive use, although it is also a powerful scripting language
Step1: Open a Linux terminal and run the following command
sudo yum install zsh wget git -ychsh -s /bin/zsh rootNote: (bash: chsh: command not found) Rn the below commandsudo yum install util-linux-user -yecho $SHELLwget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zshcp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc source ~/.zshrcgit clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Step2: Open your editor and add these lines in .zshrc file at ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting ) Step3: Run the following command: