Just run this script and it'll patch your bash. Note: Install Xcode developer tools before running it!