News for hackers. Stuff that matters.
Re:How zsh is more useful than bash by melvinmt on Saturday May 11, 2013 @09:13AM (#5690501)
I love using zsh (in combination with oh-my-zsh) on OSX but the only thing I've noticed after using it a year is that it's becoming very very slow. As in, it usually takes me 5-10 seconds to login to a new session (locally) and be able to see the prompt and type something.

Tab auto completion takes a second or two (even for files).

Combined with the git plugin I have enabled (which does "git status" on every prompt in a git folder) it's almost unbearable to work with.

I've looked into it a couple of times, there are some people with the same issues on oh-my-zsh's github, but I could never really solve it.

Would any pro zsh user know what my issue could be? I'm seriously considering going back to bash, I use it at work and it reminds me how fast the terminal can be.

Re:How zsh is more useful than bash by crazydiamond on Saturday May 11, 2013 @09:28AM (#5690529)
I moved from OMZ to Prezto for this reason (its a fork of oh my). But prezto is slow too.

The only recourse I think is to go back to a clean zsh and build your own .zshrc. There are other leaner zsh "frameworks"[1] I have read of, but i intend going back to stock zsh soon.

1) - see zshuery and zsh-m on github.

Re:How zsh is more useful than bash by pekk on Saturday May 11, 2013 @02:04PM (#5691443)
If you like zsh don't go back to bash, just ditch oh-my-zsh and roll your own config gradually, or try prezto (oh-my-zsh fork which pays attention to performance).
Re:How zsh is more useful than bash by EdiX on Saturday May 11, 2013 @10:34AM (#5690685)
> I love using zsh (in combination with oh-my-zsh) on OSX but the only thing I've noticed after using it a year is that it's becoming very very slow. As in, it usually takes me 5-10 seconds to login to a new session (locally) and be able to see the prompt and type something.

Clean the history file.

Re:How zsh is more useful than bash by remi on Saturday May 11, 2013 @09:20AM (#5690515)
You could put "echo" marks all over your .zshrc file to figure out which parts are taking the longest to execute.
Re:How zsh is more useful than bash by kyrias on Saturday May 11, 2013 @07:14PM (#5692480)
First of all stop using OMZ, it's a massive slow-down. Secondly use the git prompt that comes with git instead, there's no reason to use a custom one.
Re:How zsh is more useful than bash by radge on Saturday May 11, 2013 @09:55AM (#5690581)
just use antigen instead of omz - it can use any plugin from omz but seems to be a bit more lightweight