Skip to content

Instantly share code, notes, and snippets.

@amejiarosario
Last active October 6, 2015 10:07
Show Gist options
  • Save amejiarosario/2976697 to your computer and use it in GitHub Desktop.
Save amejiarosario/2976697 to your computer and use it in GitHub Desktop.
Dotfile installer - Let's automate the boring process for awesome results
# curl -k https://gist.github.com/raw/2976697/a2e9f2ff292a1fe5ceb7ddb05900f73a249abcdb/dotfiles_installer.sh | sudo sh
# create directory
cd ~/
mkdir gists
cd gists
# download git stuff
git clone git://gist.github.com/2931603.git gitconfig
ln -s ~/gists/gitconfig/.gitconfig ~/.gitconfig
# aliases
git clone git://gist.github.com/2930348.git aliases
ln -s ~/gists/aliases/aliases.sh ~/.aliases
cd ~/
wget https://raw.github.com/git/git/master/contrib/completion/git-completion.bash
# add to autoload
echo 'source ~/.aliases' >> ~/.bashrc
source ~/.aliases
# rails stuff
echo 'gem: --no-doc --no-ri' >> ~/.gemrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment