Re:Fish shell
by pragone on Monday May 18, 2015 @06:22PM
(#9567185)
Someone's gotta explain to me how and why oh-my-zsh is slow. I've never once experienced it being slow for me. In fact, I switched to prezto and it was unbelievably slow. I switched back to oh-my-zsh. Maybe I'm just not using it right...
[ Parent
| on HN ]
Re:Fish shell
by tomphoolery on Monday May 18, 2015 @06:29PM
(#9567219)
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?
Are 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.
Re:Fish shell
by ridiculous_fish on Tuesday May 19, 2015 @02:52AM
(#9568460)
A permanent fix for this is to create a file called .hushlogin in your home directory. I do it on all my machines.
That 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.