From 00ee82685a4e6e39b3a5bf81e19744675781f417 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 29 Oct 2014 17:11:25 +0300 Subject: [PATCH] .bashrc: Use more portable [[ test Signed-off-by: Alan Orth --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 56917c2..4e0a6ae 100644 --- a/.bashrc +++ b/.bashrc @@ -9,7 +9,7 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH - if [ -f $(brew --prefix)/etc/bash_completion ]; then + if [[ -f $(brew --prefix)/etc/bash_completion ]]; then . $(brew --prefix)/etc/bash_completion fi fi