Personal dotfiles
Shell Vim script Emacs Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bash.d
bin
emacs.d
installers
vars
vim
.gitignore
README.mkd
TODO.mkd
ackrc
bashrc
gitconfig.tpl
gvimrc
install
osx_post_install
profile
screenrc
tmux.conf
ubuntu_post_install
vimrc

README.mkd

payneio Dot Files

These are the configuration files I want to have in every Linux box I use.

Original files copied from jdevera/dotfiles. As these are highly opinionated, I don't recommend a fork.

Installation

git clone git://github.com/payneio/dotfiles ~/.dotfiles
cd ~/.dotfiles
bash install

A few more things to do on initial install

On an ubuntu box, set up solarized color theme using: ./ubuntu_post_install

Contents

Most files handle Bash or Vim configuration, additional files for utilities such as GNU Screen and Git.

Configuration file generators

There are some configuration files, such as .gitconfig that might contain sensitive data or that have contents that vary across different machines. For these cases, a generator is used.

These generators are simple bash scripts containing a template for the file they generate. The values for variable fields are requested during execution or they can be provided with environment variables for unattended installation.

Bash configuration

bash configuration files live in the .bash.d directory.

.bashrc. sources configuration files in this order:

  • Every file under .bash.d/local/before
  • Every file under .bash.d
  • Every file under .bash.d/local/after

Contents of .bash.d/local are not tracked by git, so this is the place to add configuration files that are specific for the current machine.

Vim configuration

Using Gmarik's Vundle Vim plug-in to manage Vim add-ons and keep them up to date.

Vundle clones each add-on under its own directory and adds it to Vim's runtime path.

All add-ons in the official Vim's website are actively mirrored in github by the Vim-Scripts.org project. This means Vundle can be used to install any add-on published in the official site.

Use command :BundleInstall! inside vim to update all plug-ins.

Utility Bash scripts

Put them in bin