simpler if

This commit is contained in:
Rodolphe Breard 2014-10-01 11:37:09 +02:00
parent 059d9786bd
commit b9afbac011

2
.zshrc
View file

@ -27,7 +27,7 @@ else
fi
# Aliases
if [[ "$(uname -s | tr '[:upper:]' '[:lower:]')" == 'linux' ]]; then
if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = 'linux' ]; then
alias ls='ls --color=auto'
fi
alias ll='ls -lih'