From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22788 invoked by alias); 3 Mar 2010 21:17:22 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27766 Received: (qmail 507 invoked from network); 3 Mar 2010 21:17:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED autolearn=ham version=3.2.5 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.219.210 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=8ct7nAVtHJBuy5QFcJqV13oc8szsGqbegFMLMVOSQI0=; b=u1jdeF/1PnXHOGtoS4VhWQGLeHPEhAHrUAb0/qBjLsOwZRnVHxqby99fSm6D/JoN/7 627fUyAg9EG82ghc8HJpKSA2GejI25TgQQJCVKax/P1Tk9pRxq5Eocgb82TPjkrUnn1i AcOq8ObkrCjr9WJ33TLQuEi3RQmUPoa3O08Zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=A1PdCN77KSFG53RYzlk40ZTFebp6v+jVIi+K39vnfXMMtzM9tbrkTMQKxC387lAxMh jSAqdDQzySUZNOzksryZbpdtPuGxXBwZjveJmWfhVRSeegv4QcpnzfgZpX39Mwr6mP/T IU0W2UuZ8HgAgZyr0UGPAV3KYkkMsbXC2mJ2I= MIME-Version: 1.0 In-Reply-To: <1267650366-11200-1-git-send-email-ft@bewatermyfriend.org> References: <1267650366-11200-1-git-send-email-ft@bewatermyfriend.org> Date: Wed, 3 Mar 2010 22:17:17 +0100 Message-ID: <237967ef1003031317u4f24adcehe9396423c8ecfcd2@mail.gmail.com> Subject: Re: PATCH: vcs_info: Ignore chpwd_functions[] in VCS_INFO_realpath() From: Mikael Magnusson To: Frank Terbeck Cc: zsh-workers@zsh.org, Bart Trojanowski Content-Type: text/plain; charset=UTF-8 On 3 March 2010 22:06, Frank Terbeck wrote: > Spotted and fix suggested by Bart Trojanowski . > > Regards, Frank > --- > Functions/VCS_Info/VCS_INFO_realpath | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/Functions/VCS_Info/VCS_INFO_realpath b/Functions/VCS_Info/VCS_INFO_realpath > index c0f48a4..07a9749 100644 > --- a/Functions/VCS_Info/VCS_INFO_realpath > +++ b/Functions/VCS_Info/VCS_INFO_realpath > @@ -11,6 +11,7 @@ setopt localoptions NO_shwordsplit > > ( > (( ${+functions[chpwd]} )) && unfunction chpwd > + (( ${#chpwd_functions} )) && chpwd_functions=() > setopt chaselinks > builtin cd $1 2>/dev/null && pwd > ) Why not just use cd -q? -- Mikael Magnusson