Skip to content

A collection of dotfiles to help setting up development environment.

Notifications You must be signed in to change notification settings

logius/dotfiles

Repository files navigation

Dotfiles

A collection of dotfiles to help setting up development environment. Pros and cons of dotfiles could be found here

Usage

Installation

Follow this step-by-step installation.

XCode

Install XCode through the Mac App Store.

Run:

xcode-select --install

Setup

Clone this repository to your $HOME directory

mkdir $HOME/dotfiles
git clone git://github.com/logius/dotfiles.git $HOME/dotfiles

Initialize and/or update the submodules

cd $HOME/dotfiles && git submodule init && \
  git submodule update --recursive

Homebrew

Next, install Homebrew using the following command.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After installing Homebrew, ensure permissions are correct by running the following.

sudo chown -R "$USER" /usr/local
brew update

brew bundle --file=Brewfile

Instalation

Hook everything up by running the install script.

./install

OSX defaults

chmod +x .osx
./.osx

ZSH

Set ZSH as the default shell:

chsh -s /bin/zsh

Chruby and ruby-install

ruby-install ruby [VERSION] ~/.rubies/ruby-[VERSION]

About

A collection of dotfiles to help setting up development environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published