Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (48 sloc) 1.94 KB

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

git clone git@github.com:tomsquest/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install

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

Jump to Line
Something went wrong with that request. Please try again.