From 6935c8a7f19b544a90e2dd928f114deb6a504da5 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Mon, 31 Dec 2012 12:16:46 +0200 Subject: [PATCH] zshrc: fix mysterious error that happens when nothing is wrong --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index bd9f6de0..fb0419bb 100644 --- a/zshrc +++ b/zshrc @@ -231,7 +231,7 @@ alias theme="prompt " ## -- Start of aliases which are saved from Ubuntu default bashrc. -- # enable color support of ls and also add handy aliases -if [[ $UNAME != Darwin ]]; then +if [[ $UNAME != Darwin ]]; then alias ls='ls --color=always' fi alias dir='dir --color=always' @@ -240,7 +240,7 @@ alias grep='grep --color=always' alias fgrep='fgrep --color=always' alias egrep='egrep --color=always' # some more ls aliases -if [[ $UNAME != Darwin ]]; then +if [[ "$UNAME" != "Darwin" ]]; then alias ll='ls -alF --color=always' && alias la='ls -A --color=always' && alias l='ls -CF --color=always' fi