I am using:
Mac OS X 10.10.5 (Yosemite)
zsh 5.0.5
oh-my-zsh
the problem is, terminal load time is too slow about 10 seconds, even for opening new terminal tabs.
I tried solution on this blog post: http://osxdaily.com/2010/05/06/speed-up-a-slow-terminal-by-clearing-log-files/ but that didn't helped me.
sudo rm -rf /private/var/log/asl/*.asl
Thanks
node
was making trouble for me, and here is the solution that works:
In my .zshrc
# configure node version manager
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" --no-use # This loads nvm
alias node='unalias node ; unalias npm ; nvm use default ; node $@'
alias npm='unalias node ; unalias npm ; nvm use default ; npm $@'
For more information visit this Github issue.