Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Last active Oct 16, 2017
Embed
What would you like to do?
ZSH Syntax Highlighting! — Details → https://ahmda.ws/ZH_
#.# zsh-syntax-highlighting
#
# Fish shell like syntax highlighting for Zsh
#
# @link: http://github.com/zsh-users/zsh-syntax-highlighting
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