robbyrussell/oh-my-zsh — pull request #819 by dbye (2012-01-09 12:46:04+00:00)
Title: New theme and improved startup times

I've created a new theme, dbye.zsh-theme, which is based largely on the clint prompt theme that ships with zsh, but which has support for displaying current Ruby version for those using rvm or rbenv. The git repo part of the theme is taken from the existing kolo oh-my-zsh theme, with some minor alterations. I've included fairly thorough comments in the file.

I have also removed the calls to compinit in the extract and bundler plugins, which, for me at least, results in a much improved startup time, going from a life-sapping 3 seconds average to a much snappier, happy-making 0.2 seconds average. I don't use those plugins on a daily basis, but have tested my changes and believe they don't break anything. compinit only needs to be called once, I think, and I believe the oh-my-zsh.sh script does that in the correct place to pull in all compdefs declared during inclusion of themes and plugins.

Thanks for oh-my-zsh - it's got me interested in learning more about this excellent shell.