Last active
September 4, 2017 03:38
-
-
Save slwu89/728d58524f647df47c52c43cb7da9403 to your computer and use it in GitHub Desktop.
newMac.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "fixing case ignore in tab completion" | |
echo "set completion-ignore-case On" >> ~/.inputrc | |
echo "installing stuff you need" | |
declare -a usrDirs=(Cellar Frameworks bin etc include lib opt sbin share var bin) | |
## now loop through the above array | |
for ii in "${usrDirs[@]}" | |
do | |
chown -R `whoami`:admin "/usr/local/$ii" | |
done | |
brew install gsl | |
brew install boost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment