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 #--------------------------------------------------------------------------------