From c20c1ea7c65261ca1fa48a3729dedc81b7f7eee0 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Thu, 6 Nov 2014 13:44:55 +0100 Subject: [PATCH] adding syntax-highlighting support --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index ee243ce..f2e8434 100644 --- a/.zshrc +++ b/.zshrc @@ -27,6 +27,11 @@ else #PS1='\u@\h-> ' fi +# Syntax-highlighting +if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]; then + source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" +fi + # Aliases if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then alias ls='ls --color=auto'