Last active
December 27, 2015 17:19
-
-
Save helloIAmPau/7361551 to your computer and use it in GitHub Desktop.
dotFiles installer
This file contains hidden or 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 | |
if [ `uname` == "Darwin" ]; then | |
VIM=/Applications/MacVim.app/Contents/MacOS/Vim; | |
else | |
VIM=vim; | |
fi | |
echo "Going to tmp folder..." | |
cd /tmp | |
echo "Cloning repo..." | |
git clone https://github.com/helloIAmPau/dotFiles.git | |
echo "Moving all files in the right location..." | |
cp -rv dotFiles/.[a-zA-Z0-9]* ~/ | |
if [ `uname` == "Darwin" ]; then cp -rv dotFiles/Library ~/; fi | |
echo "Installing vundle for vim bundles..." | |
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
echo "Installing vim bundles..." | |
$VIM +BundleInstall +qall | |
echo "Installing oh-my-zsh" | |
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment