Installing bash-completion with Homebrew
To install bash-completion, you have to:
brew install bash-completion
And add the following to your ~/.bash_profile:
if -f $(brew --prefix)/etc/bash_completion » ; then
. $(brew --prefix)/etc/bash_completion
fi
( cmdpid=$BASHPID;
(sleep 10; kill $cmdpid)
& while ! ping -w 1 www.goooooogle.com
do
echo crap;
done )