From 589c9ae45d4281ebc97fc6a3e3c4563705d81acf Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 12 Mar 2017 22:24:57 +0000 Subject: Fix OSTYPE check for ARM OSTYPE is linux-gnueabihf. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index e31028d6..63c69a1d 100644 --- a/.zshrc +++ b/.zshrc @@ -24,7 +24,7 @@ type nvim > /dev/null \ export GPG_TTY=$TTY export CLICOLOR=1 -[ "$OSTYPE" = 'linux-gnu' ] \ +[[ "$OSTYPE" =~ 'linux-gnu' ]] \ && alias ls='ls --color=auto' grep='grep --color' rm='rm -I' alias gs='git status --short --branch' gd='git diff' -- cgit 1.4.1