I’m a command-line power-user. I do more things with command line than I probably should. So, I have built a lot of small workflows to help me with daily stuff.
For example, Command-Line ZSH Syntax Highlighting is a total win. It helps me visualize if I am about to run a dangerous command
rm -rf * (anyone?) — and also if a program exists in the $PATH or not.
Syntax highlight in ZSH is awesome. It highlights what you’re tying in real time.
- If a program doesn’t exist, the text is
- If a program does exist, the text is
- It highlights matching brackets, text inside quotes, loads of stuff.
To use it, clone
zsh-syntax-highlighting from Github and add the following commands to your
.zshrc. They’ll enable the common highlighters, and add a warning highlight when you try and use
Happy hacking. Peace! ✌️
Takeaway my professional opinion on open-source, developer relations, growing your business with family, and everything in between! Delivered to your inbox a couple of times every year. I'm even funny at times. I hate spam — pinky-promise!
👨💻👩💻 115,834 Developers Already Subscribed