No description, website, or topics provided.
Ruby Shell Vim script
Switch branches/tags
Nothing to show
Latest commit 7c9c45b Mar 30, 2017 @neerajdotname wip
Failed to load latest commit information.

This README describes how I setup a new mac


Installing xcode from the app store takes a while. So go to app store and start installing xcode.


Install drobox app. Do not sync all the files since that might take a while. Start with syncing only dotfiles folder.

Setup theme on terminal app

For terminal app I use "dark theme" of .

Read here to see how to install a new theme for Terminal.

After downloading I made following changes

  • Change font family to "monaco".
  • Incresed font size to 16.

Install homebrew

Visit to see the instructions about how to install homebrew.

brew install tree
brew install hub
brew install ack
brew install wget
brew install node
brew install imagemagick
brew install macvim

# coffee command is needed by vim to compile and show error for
# coffeescript code
npm install -g coffee-script
npm install -g eslint
npm install -g eslint babel-eslint
eslint -v # view version and confirm that eslint is properly working

Setting up bash_profile and bashrc

ln -s ~/Dropbox/dotfiles/bash_profile ~/.bash_profile
ln -s ~/Dropbox/dotfiles/bashrc ~/.bashrc
ln -s ~/Dropbox/dotfiles/ackrc ~/.ackrc

Setup bashmarks

mkdir -p  ~/code/scratch
cd ~/code/scratch
git clone git://
cd bashmarks
make install
rm ~/.sdirs
ln -s ~/Dropbox/dotfiles/sdirs ~/.sdirs

Installing janus

Janus is a vim distribution I use.

rm -rf ~/.vim
rm -rf ~/.janus

ln -s /Users/neerajsingh/Dropbox/dotfiles/gvimrc.before ~/.gvimrc.before
ln -s /Users/neerajsingh/Dropbox/dotfiles/vimrc.after ~/.vimrc.after

curl -L | bash

cd ~/.vim/janus/vim/tools && git clone
cd ~/.vim/janus/vim/tools && git clone

Updating janus

cd ~/.vim

Setting up hemisu theme

I use hemisu theme for vim.

cd ~/.vim/janus/vim/colors
git clone
mv vim-hemisu/ hemisu

Setting up git

git config --global checkout
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
git config --global branch.autosetuprebase always
git config --global push.default current
git config --global "Neeraj Singh"
git config --global

# Typicall when I merge master into production git opens editor for me to type merge message.
# Personally I do not want git to ask me to enter anything when I am merging a branch into another.
# Following code is to silence git.
git config --global core.mergeoptions --no-edit


git clone ~/.rbenv
git clone ~/.rbenv/plugins/ruby-build
git clone ~/.rbenv/plugins/rbenv-vars
rbenv install 2.2.3
rbenv global 2.2.3
ln -s /Users/nsingh/Dropbox/dotfiles/gemrc ~/.gemrc

Installing PostgreSQL database is the easiest way to get started with postgresql server.

brew install postgres
brew tap homebrew/services

To have launchd start postgresql now and restart at login:
  brew services start postgresql
Or, if you don't want/need a background service you can just run:
  pg_ctl -D /usr/local/var/postgres start

Setup tiny_scripts

Setting up git command line completion

curl -o ~/.git-completion.bash