
Zsh Shell Syntax Highlighting
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
More Posts related to zsh,
- Ubuntu zsh: command not found: nano
- Setting up Zsh Syntax Highlighting
- Fix for zsh: command not found: brew
- Fix - zsh: command not found: conda [macOS]
- Resolve - zsh: command not found: code
- How to make zsh as the default shell on Ubuntu
- zsh: exec format error eclipse M1 Mac
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- Fix zsh: permission denied: script.sh
- zsh: command not found [fix] macOS
More Posts:
- [Fix] Microsoft Windows OneDrive 0x8007018b Error Code - Windows
- Calculate Volume of Cylinder - C-Program
- [Solved] SharePoint Illegal operation attempted on a registry key that has been marked for deletion - SharePoint
- Calculate Area of Square - C-Program
- PowerShell git: The term git is not recognized as the name of a cmdlet - Microsoft
- Column Mode Editing in Notepad++ - NotepadPlusPlus
- How to List All Users in Linux - Linux
- Change Font Size in Visual Studio Code - HowTos