Config files for zsh and such (heavily commented, when needed)
Shell Vim script Python Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 67 commits ahead, 421 commits behind tomsquest:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hosts
zsh
README.rdoc
ackrc
bashrc
brew.list
casks.list
gitconfig
gitignore
install.sh
irbrc
log4tailer
mac-default.sh
mavenrc
railsrc
tmux.conf
vimrc
zshrc

README.rdoc

My Dot Files

Forked from tomsquest's dotfiles, thanks a lot for the working base.

My config files, heavily commented for the most part (Zsh).

Installation

cd; git clone git://github.com/CedricGatay/dotfiles.git .dotfiles
cd ~/.dotfiles
./install.sh

Features

ZSH

Heavily commented ZSH configuration : config, completion, prompt, key bindings…

Bashrc

Old and not so portable bashrc file, a lot of proprietary path and aliases. I have to work on it to make it versatile.

Prompt

The prompt is simple and effective. There is:

  • A separator line between each command

  • The path is truncated if too long for the terminal width

  • The return code of the last executed command is displayed

  • The Git status is displayed at the right of the screen (thanks to github.com/olivierverdier/zsh-git-prompt)

  • Prompt color turns red when root, green otherwise. Host color turns cyan when remoting, green otherwise.

Example

tom@tom 06:42:21 ~/.dotfiles/zsh --------
$                               (master…)

Completions

  • Bundler

  • Capistrano

  • Gem

  • Rake

  • Rvm

  • Maven

Functions

  • o : use xdg-open to open the file with the appropriate program and ask for sudo if root privileges needed

  • mcd : mkdir + cd to it

  • last_modified : used in Rake and Capistrano completion to update the task caches

ACK-GREP

Ruby/Haml/Sass configuration for Ack-grep (aliased 'ack'). ACK is a powerfull replacement for grep, written for developpers (betterthangrep.com/)

GIT

A mostly-complete gitignore.

Sources