adding syntax-highlighting support
This commit is contained in:
parent
4f9cdaab7c
commit
c20c1ea7c6
1 changed files with 5 additions and 0 deletions
5
.zshrc
5
.zshrc
|
@ -27,6 +27,11 @@ else
|
||||||
#PS1='\u@\h-> '
|
#PS1='\u@\h-> '
|
||||||
fi
|
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
|
# Aliases
|
||||||
if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then
|
if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
|
|
Loading…
Reference in a new issue