From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24358 invoked by alias); 19 Nov 2013 16:58:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18157 Received: (qmail 2788 invoked from network); 19 Nov 2013 16:57:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xsUWE2UxOMr0kUVsUy5rzJjVgZED0mJ/JOtl0yJB/Jg=; b=BL40oI4THqppi+7OF2++SEkFttootkyG/C0NojLhovTTJlRkgG0J4bRpd4paUk7ECA qiZviGuA3ZiD61b1WjL5rx1QHujLFpgFKgom/b+o00BRwgYG9jwdvYbkqo6+R1oQHJJs aIf7UxeIRYaUNeOXwqARWGAaOr6O1BIZ01RwsK9j17KqRnCvAeg6/P9w1hn+nZ3nPtX5 x5SYnwmB7ebAZ6lTMYjrJhtx3h7kNJWjlIqrm/1JqcZg/oW5vUeNtvyRK/lZjj9fiKr6 hAp7bD5DOc3q/elZSfhvE6O/oZetTQc+vCgNcYO92897phUzvKbCKE/4TrDAtxbcTm+/ 2BVg== X-Gm-Message-State: ALoCoQn+dQE0s1nh6D1PDIu8j9ZMZ9Dx9CX6DvyrdchTTJJLxMP399kad5UwfdyqRJC6gZDPPRZJ MIME-Version: 1.0 X-Received: by 10.152.121.69 with SMTP id li5mr1578932lab.41.1384880273273; Tue, 19 Nov 2013 08:57:53 -0800 (PST) In-Reply-To: References: <131119073326.ZM17938@torch.brasslantern.com> Date: Tue, 19 Nov 2013 08:57:53 -0800 Message-ID: Subject: Re: Opening a new tab is awkwardly slow From: Bart Schaefer To: Timo Sand Cc: Zsh Users Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 19, 2013 at 8:27 AM, Timo Sand 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 ...