zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh-workers@zsh.org,  Bart Trojanowski <bart@jukie.net>
Subject: Re: PATCH: vcs_info: Ignore chpwd_functions[] in VCS_INFO_realpath()
Date: Wed, 03 Mar 2010 22:24:12 +0100	[thread overview]
Message-ID: <87635d14lf.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <237967ef1003031317u4f24adcehe9396423c8ecfcd2@mail.gmail.com> (Mikael Magnusson's message of "Wed, 3 Mar 2010 22:17:17 +0100")

Mikael Magnusson wrote:
> On 3 March 2010 22:06, Frank Terbeck <ft@bewatermyfriend.org> wrote:
[...]
>>  (
>>     (( ${+functions[chpwd]} )) && unfunction chpwd
>> +    (( ${#chpwd_functions} )) && chpwd_functions=()
>>     setopt chaselinks
>>     builtin cd $1 2>/dev/null && pwd
>>  )
>
> Why not just use cd -q?

Good point. `-q' wasn't there when I started vcs_info. :-)

It's the better solution though. I'll send a patch in a minute.

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925


      reply	other threads:[~2010-03-03 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 21:06 Frank Terbeck
2010-03-03 21:17 ` Mikael Magnusson
2010-03-03 21:24   ` Frank Terbeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87635d14lf.fsf@ft.bewatermyfriend.org \
    --to=ft@bewatermyfriend.org \
    --cc=bart@jukie.net \
    --cc=mikachu@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).