added bash completion from brew stuff into bashrc. fixed return code display on mac os x