Answers for "syntax highlighting zsh"

6

zsh syntax highlighting plugin

In your ~/.zshrc
Simply clone this repository and source the script:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

Then, enable syntax highlighting in the current interactive shell:

source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
If git is not installed, download and extract a snapshot of the latest development tree from:

https://github.com/zsh-users/zsh-syntax-highlighting/archive/master.tar.gz
Note the source command must be at the end of ~/.zshrc.
Posted by: Guest on January-18-2021
1

syntax highlighting zsh

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Posted by: Guest on August-07-2021

Code answers related to "syntax highlighting zsh"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language