Skip to content

Instantly share code, notes, and snippets.

Last active Oct 16, 2017
What would you like to do?
ZSH Syntax Highlighting! — Details →
#.# zsh-syntax-highlighting
# Fish shell like syntax highlighting for Zsh
# @link:
source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_HIGHLIGHT_PATTERNS=('rm -rf *' 'fg=white,bold,bg=red') # To have commands starting with `rm -rf` in red:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment