3 ms·
OMZ got painfully slow for me when I used it with a lot of plugins and it was iterating over a lot of different file paths. It seems like ZSH has an issue when
by tomphoolery 11y ago
OMZ got painfully slow for me when I used it with a lot of plugins and it was iterating over a lot of different file paths. It seems like ZSH has an issue when you're loading a mass amount of files...or maybe it's just the way OMZ is loading them?
- Karunamon 11y agoAre you on a mac by chance? I ran into a really weird problem on OSX, still happens as of the latest Yosemite beta, where if you have a lot of system logs laying around, the shell takes an inordinately long time to start (10+ seconds) and do autocompletes. If you clear out your logfiles by trashing /private/var/log/asl/*.asl, there's a pretty decent speedup.
- ridiculous_fish 11y agoA permanent fix for this is to create a file called .hushlogin in your home directory. I do it on all my machines.
- Karunamon 11y agoThat totally works - thanks for the hint! Do you have any insight as to why this happens? It smells like some kind of log parsing to present messages on login, but I've never received any such messages, and a quick vgrep of the various profile/rc's never turned anything up.