zshrc: fix mysterious error that happens when nothing is wrong

This commit is contained in:
Mika Suomalainen 2012-12-31 12:16:46 +02:00
parent 0919eab0d2
commit 6935c8a7f1
1 changed files with 2 additions and 2 deletions

4
zshrc
View File

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