adding syntax-highlighting support

This commit is contained in:
Rodolphe Breard 2014-11-06 13:44:55 +01:00
parent 4f9cdaab7c
commit c20c1ea7c6

5
.zshrc
View file

@ -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'