From fd2bbfe8cef59fc62f63238be58fab505cc69818 Mon Sep 17 00:00:00 2001 From: Amand Tihon Date: Tue, 2 Jun 2009 17:57:18 +0200 Subject: [PATCH] Minor: cosmetic --- S60_git | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/S60_git b/S60_git index a1ae51c..9eb816b 100644 --- a/S60_git +++ b/S60_git @@ -1,11 +1,16 @@ #! /usr/bin/zsh +export __ZSH_GIT_BASEDIR="" +export __ZSH_GIT_BRANCH="" +export __ZSH_GIT_SUBDIR="" +export __ZSH_GIT_STATE="" +export __ZSH_GIT_VARS_INVALID=1 git_parse() { psvar=() - local git_dir ref base_dir sub_dir action branch + git_dir=$(git rev-parse --git-dir 2> /dev/null) || return base_dir=${$(readlink -f "$git_dir/..")/$HOME/'~'} -- 2.39.2