Make log trace clearer
This commit is contained in:
+7
-7
@@ -8,23 +8,23 @@ fi
|
|||||||
CONFIG_DIR=$PWD
|
CONFIG_DIR=$PWD
|
||||||
|
|
||||||
if ! which -s brew; then
|
if ! which -s brew; then
|
||||||
echo "Brew is not installed. Installing now..."
|
echo; echo; echo "Brew is not installed. Installing now..."
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd $HOME >/dev/null
|
pushd $HOME >/dev/null
|
||||||
|
|
||||||
echo "Installing standard config files..."
|
echo; echo; echo "Installing standard config files..."
|
||||||
|
|
||||||
for FILE in $(ls -A "$CONFIG_DIR/home"); do
|
for FILE in $(ls -A "$CONFIG_DIR/home"); do
|
||||||
[[ -e "$FILE" ]] && rm -rf "$FILE"
|
[[ -e "$FILE" ]] && rm -rf "$FILE"
|
||||||
ln -s "$CONFIG_DIR/home/$FILE" "$FILE"
|
ln -s "$CONFIG_DIR/home/$FILE" "$FILE"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Updating brew, one moment..."
|
echo; echo; echo "Updating brew, one moment..."
|
||||||
brew update
|
brew update
|
||||||
|
|
||||||
echo "Installing standard brew packages..."
|
echo; echo; echo "Installing standard brew packages..."
|
||||||
brew install fswatch
|
brew install fswatch
|
||||||
brew install macvim
|
brew install macvim
|
||||||
brew install node
|
brew install node
|
||||||
@@ -32,7 +32,7 @@ brew install rbenv
|
|||||||
brew install watch
|
brew install watch
|
||||||
brew install wget
|
brew install wget
|
||||||
|
|
||||||
echo "Installing standard NPM packages..."
|
echo; echo; echo "Installing standard NPM packages..."
|
||||||
npm install -g browserify
|
npm install -g browserify
|
||||||
npm install -g coffee-script
|
npm install -g coffee-script
|
||||||
npm install -g grunt-cli
|
npm install -g grunt-cli
|
||||||
@@ -40,9 +40,9 @@ npm install -g node-sass
|
|||||||
npm install -g nodemon
|
npm install -g nodemon
|
||||||
npm install -g pug-cli
|
npm install -g pug-cli
|
||||||
|
|
||||||
read -p "Installing vi plugins, type \":qall\" when finished..."
|
echo; echo; read -p "Installing vi plugins, type \":qall\" when finished..."
|
||||||
vi -c ":PlugInstall"
|
vi -c ":PlugInstall"
|
||||||
|
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
echo "Done."
|
echo; echo; echo "Done."
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user