initial commit

This commit is contained in:
Andrew Miner
2017-07-10 13:43:46 -07:00
commit 2ec5ba837a
8 changed files with 2601 additions and 0 deletions
Executable
+48
View File
@@ -0,0 +1,48 @@
#!/bin/bash
if [[ "$0" != "./install.sh" ]]; then
echo "Please run $0 from its own directory."
exit 1
fi
CONFIG_DIR=$PWD
if ! which -s brew; then
echo "Brew is not installed. Installing now..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
pushd $HOME >/dev/null
echo "Installing standard config files..."
for FILE in $(ls -A "$CONFIG_DIR/home"); do
[[ -e "$FILE" ]] && rm -rf "$FILE"
ln -s "$CONFIG_DIR/home/$FILE" "$FILE"
done
echo "Updating brew, one moment..."
brew update
echo "Installing standard brew packages..."
brew install fswatch
brew install macvim
brew install node
brew install rbenv
brew install watch
brew install wget
echo "Installing standard NPM packages..."
npm install -g browserify
npm install -g coffee-script
npm install -g grunt-cli
npm install -g node-sass
npm install -g nodemon
npm install -g pug-cli
read -p "Installing vi plugins, type \":qall\" when finished..."
vi -c ":PlugInstall"
popd >/dev/null
echo "Done."
echo