News for hackers. Stuff that matters.
Re:Zsh 5.0 released by davvid on Monday July 23, 2012 @02:49AM (#4279869)
Were you using oh-my-zsh?

I have a few patches that speed up its git plugin by letting you opt-out of expensive operations. https://github.com/davvid/oh-my-zsh/commits/davvid

Last I checked, oh-my-zsh was in transition to a new version(?), and the pull requests have generally been ignored because of this.

Re:Zsh 5.0 released by it on Tuesday July 24, 2012 @12:22AM (#4284339)
Yes, I was using oh-my-zsh. I'd like to try it again if it's easy to make it non-slow.
Re:Zsh 5.0 released by davvid on Tuesday July 24, 2012 @03:01AM (#4284653)
Some of the secret details are in my theme: https://github.com/davvid/oh-my-zsh/blob/davvid/themes/davvi...

    ZSH_THEME_GIT_PROMPT_DIRTY=""
    ZSH_THEME_GIT_PROMPT_CLEAN=""
which lets it avoid expensive checks that my prompt doesn't need (it already shows that info elsewhere).

The real big win is that I export `POST_1_7_2_GIT=1` in `~/.zshrc` and the tweaks I made teach the git plugin to use `--ignore-submodule=dirty` when calling `git status`, which makes a huge difference.

I haven't caught up with oh-my-zsh in a bit; if there's a good place for me to rebase onto and do a new pull request I will. Does anybody know who the real oh-my-zsh maintainer is these days?