www-gem words

[Plugin] Highlight your zsh

Published on

zsh Typing too fast while tired is the perfect combo for mistakes. Also, the more mistakes you will do in your terminal commands the more you will get frustrated and tired. Sometimes you may even spend minutes looking at your commands with crossed-eyes before figuring out which character is wrong.

To prevent you from all this pain, the zsh-syntax-highlighting plugin is your perfect companion. It will run in background and highlight your commands as you type. Correct pieces of text will be shown in green and incorrect ones in… red (quite natural).

Note that it will also underline existing paths or leave them non-decorated if they do not exist.

Should you feel adventurous, you can tweak the syntax highlighting by adjusting the pluggable highlighter scripts .


Thanks for your read. Hope it's been useful to you.


Interact with this post using Mastodon or

Comment on wwwgem's post

Copy and paste this URL into the search field of your favourite Fediverse app or the web interface of your Mastodon server.

✄ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈ ┈

More food for thoughts? Check other posts about: #Zsh #Zsh-Plugins