zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Frank Terbeck <ft@bewatermyfriend.org>
Cc: zsh-workers@zsh.org, Bart Trojanowski <bart@jukie.net>
Subject: Re: PATCH: vcs_info: Ignore chpwd_functions[] in VCS_INFO_realpath()
Date: Wed, 3 Mar 2010 22:17:17 +0100	[thread overview]
Message-ID: <237967ef1003031317u4f24adcehe9396423c8ecfcd2@mail.gmail.com> (raw)
In-Reply-To: <1267650366-11200-1-git-send-email-ft@bewatermyfriend.org>

On 3 March 2010 22:06, Frank Terbeck <ft@bewatermyfriend.org> wrote:
> Spotted and fix suggested by Bart Trojanowski <bart@jukie.net>.
>
> 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


  reply	other threads:[~2010-03-03 21:17 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 [this message]
2010-03-03 21:24   ` Frank Terbeck

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=237967ef1003031317u4f24adcehe9396423c8ecfcd2@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=bart@jukie.net \
    --cc=ft@bewatermyfriend.org \
    --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).