Install zsh-syntax-highlighting by entering the following commands in the terminal:
sudo apt update sudo apt install zsh-syntax-highlighting
Description:
Fish shell like syntax highlighting for zsh
This package provides syntax highlighting for the shell zsh. It enables highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors. . This feature is inspired by the Fish shell, which provides it by default. . There are numerous ways to configure the colors used for highlighting, and to configure what is highlighted.
Homepage: https://github.com/zsh-users/zsh-syntax-highlighting/
Version: 0.6.0-1
Section: universe/shells