Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CedricGatay/dotfiles

 
 

Repository files navigation

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

About

Config files for zsh and such (heavily commented, when needed)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.4%
  • Vim Script 11.5%
  • Python 10.8%
  • Ruby 2.3%