From 362500e8a52d79d1e8f3aca2913ce94a45071e65 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 26 May 2015 19:26:12 +0300 Subject: [PATCH] .zshrc: Fix regex for Linux test On GNU/Linux $OSTYPE returns "linux-gnu". Signed-off-by: Alan Orth --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 3269270..8827ab5 100644 --- a/.zshrc +++ b/.zshrc @@ -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