Forked from tomsquest’s dotfiles, thanks a lot for the working base.
My config files, heavily commented for the most part (Zsh).
cd; git clone git://github.com/CedricGatay/dotfiles.git .dotfiles cd ~/.dotfiles ./install.sh
Heavily commented ZSH configuration : config, completion, prompt, key bindings…
Old and not so portable bashrc file, a lot of proprietary path and aliases. I have to work on it to make it versatile.
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…)
-
Bundler
-
Capistrano
-
Gem
-
Rake
-
Rvm
-
Maven
-
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
Ruby/Haml/Sass configuration for Ack-grep (aliased ‘ack’). ACK is a powerfull replacement for grep, written for developpers (betterthangrep.com/)
A mostly-complete gitignore.
-
Ubuntu: /etc/zsh/newuser.zshrc.recommended
-
Git prompt: github.com/olivierverdier/zsh-git-prompt
-
ZSH Prompt horizontal line: aperiodic.net/phil/prompt/
-
many others…