Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Opening a new tab is awkwardly slow

On Tue, Nov 19, 2013 at 8:27 AM, Timo Sand <timo.j.sand@xxxxxxxxx> wrote:
> Here's the xtrace output https://gist.github.com/deiga/7547991
> Not sure how to debug this, any help would be appreciated :)

Well, to begin with, search for calls to the "git" and "nvm" functions.

I only see one call to "git":

+/Users/timosand/.zsh/system.zsh:9> git config --global
credential.helper osxkeychain
+git:0> hub config --global credential.helper osxkeychain

I know OSX keychain operations can be really slow sometimes; you might
want to consider doing that only once per desktop session rather than
on every shell.  Or put this in the background, if it's not directly
modifying the current shell environment.

The nvm activity seems to be from nvm.plugin.zsh, an oh-my-zsh module.

The problem with using modular configuration systems like oh-my-zsh is
that they encourage you to throw in all sorts of stuff that you might
use only once in a blue moon, or to try things and then forget you
have them enabled, so you're paying a continuous performance penalty
for an occasional convenience.  Part of the point of them being
modular is that things can be easily unplugged, too ...

Messages sorted by: Reverse Date, Date, Thread, Author