I recently started using Zsh and it was awesome. Unfortunately, for the project I consider my "main" project, everything is going slowly. I mean, every time I run the command - ls , for example, there is about a five second delay between the time the command takes to execute and the time when I can use the terminal again.
What can be great in this repo that makes Zsh so slow? I suppose this is a Zsh-specific thing, because there were no problems before I started using Zsh. I tried to do git clean , but that didn't make any noticeable difference.
I am on Mac OS X, if that matters.
Update: It turns out this line of my .zshenv is what made it slower:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
If I comment on this line, it will take from 3 seconds to 1 second. Unfortunately, I need this line, as many of my projects use RVM. I do not know what to do now.
Update 2 : this is apparently a special thing about -my-zsh. If I do not download ~/.oh-my-zsh/oh-my-zsh.sh , I have no problem.
git zsh
Jason Swett Oct 07 '12 at 1:21 2012-10-07 01:21
source share