From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28552 invoked by alias); 15 Sep 2011 09:48:32 -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: 16361 Received: (qmail 17915 invoked from network); 15 Sep 2011 09:48:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at necoro.eu does not designate permitted sender hosts) Message-ID: <4E71C7AE.8030908@necoro.eu> Date: Thu, 15 Sep 2011 11:38:54 +0200 From: =?ISO-8859-1?Q?Ren=E9_Neumann?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110901 Lightning/1.0b3pre Thunderbird/3.1.12 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: vcs_info References: <20110915074139.GA25204@miek.nl> <20110915090328.GA24448@miek.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Am 15.09.2011 11:15, schrieb Julien Nicoulaud: > By the way, does anyone know a way to make vcs_info ignore this $HOME repo > without ignoring the nested repositories ? There is a "disable-patterns" > style, but it matches the current working directory, and not the repo root > directory... I have achieved this by simply using ".config.git" as the git-repository name for my $HOME. This makes sure, that under no circumstances I check something into the HOME-git where it does not belong. Then I used a simple alias: alias config='GIT_DIR=$HOME/.config.git/ git --work-tree=$HOME' (This also removes the nested-repository-problem of yours :)) - René