add bash completion config for mac
fix link-to-self bug in installer script