From 5ae9bc7b182fe26e7d2ae9b8349d0c76f0accd00 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 29 Feb 2016 18:24:19 +0000 Subject: [PATCH] Don't error on non-OS X machines. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 9da39dc..222d597 100644 --- a/.bashrc +++ b/.bashrc @@ -67,7 +67,7 @@ fi #-------------------------------------------------------------------------------- # Add bash completion scripts #-------------------------------------------------------------------------------- -if [ -f $(brew --prefix)/etc/bash_completion ]; then +if [ -f $(brew --prefix 2>/dev/null)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi #--------------------------------------------------------------------------------