
zsh-syntax-highlighting is a GitHub repo that you can setup along with Zsh to get System Highlighting for commands just like Fish-Shell,
3 Easy steps to set up Zsh Syntax Highlighting
- Clone git repo: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
% git clone https://github.com/zsh-users/zsh-syntax-highlighting.git Cloning into 'zsh-syntax-highlighting'... remote: Enumerating objects: 7016, done. remote: Counting objects: 100% (103/103), done. remote: Compressing objects: 100% (51/51), done. remote: Total 7016 (delta 50), reused 80 (delta 46), pack-reused 6913 Receiving objects: 100% (7016/7016), 1.52 MiB | 2.22 MiB/s, done. Resolving deltas: 100% (4725/4725), done.
- Now execute command: echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- To enable syntax highlighting,
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Reference and more details: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
- How to make zsh as the default shell on Ubuntu
- Resolve - zsh: command not found: code
- Fix - zsh: command not found: conda [macOS]
- zsh: command not found [fix] macOS
- Setting up Zsh Syntax Highlighting
- Fix for zsh: command not found: brew
- Fix zsh: permission denied: script.sh
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- How to clear ZSH history of commands executed on Mac Terminal
- Ubuntu zsh: command not found: nano
- How to reload zsh shell profile file?
- macOS Ventura 13: The default interactive shell is now zsh
- zsh: exec format error eclipse M1 Mac
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it? - NotepadPlusPlus
- Fix - You're missing out! Ask your admin to enable Microsoft Teams - Teams
- Hide files and folders on Mac OS X - Mac-OS-X
- Your Android SDK is missing, out of date or corrupted SDK Problem - Android-Studio
- Force android app to run in Landscape mode programatically - Android
- Java JDBC Get Id of the Inserted Record with AutoIncrement - Java
- Create Custom Toast Android Programming - Android
- How to Show Path of Files or App in Mac Spotlight Search - MacOS