/dotfiles

My dotfiles

Primary LanguageShell

dotfiles

Personalized mix of ruby, rails and git. For vim see vimfiles.

Installation

git clone git@github.com:dalibor/dotfiles.git ~/.dotfiles

echo "source ~/.dotfiles/bashrc" >> ~/.bashrc

ln -s ~/.dotfiles/gitconfig ~/.gitconfig
ln -s ~/.dotfiles/gitignore ~/.gitignore
ln -s ~/.dotfiles/gemrc ~/.gemrc
ln -s ~/.dotfiles/irbrc ~/.irbrc
ln -s ~/.dotfiles/ackrc ~/.ackrc
ln -s ~/.dotfiles/screenrc ~/.screenrc
ln -s ~/.dotfiles/tmux ~/.tmux.conf
mkdir -p ~/bin
test -L ~/bin/dotfiles_bins && echo "~/bin/dotfiles_bins exists" || ln -s ~/.dotfiles/bin ~/bin/dotfiles_bins

Configuration

Create ~/.gitconfig.local file with your name and email to use with Git

[user]
  name = Dalibor Nasevic
  email = dalibor.nasevic@gmail.com

Note: make sure you have a newer version of Git installed. Git version 1.7.9.5 or older do not support include tag that's used to include gitconfig.local file.

# Install latest Git version on Ubuntu
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git