From b9afbac0114210ecf05365e14bfac9d9962685eb Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 1 Oct 2014 11:37:09 +0200 Subject: [PATCH] simpler if --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6f75d02..40ee7c9 100644 --- a/.zshrc +++ b/.zshrc @@ -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'