.zshrc: Fix regex for Linux test

On GNU/Linux $OSTYPE returns "linux-gnu".

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-05-26 19:26:12 +03:00
parent 74ad228591
commit 362500e8a5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

2
.zshrc
View File

@ -42,7 +42,7 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
alias sed='gsed'
alias dircolors='gdircolors'
elif [[ "$OSTYPE" =~ ^linux*$ ]]; then
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# aliases
alias ls='ls -F --color=auto'
fi