From: Amand Tihon Date: Tue, 2 Jun 2009 15:57:18 +0000 (+0200) Subject: Minor: cosmetic X-Git-Url: https://git.alrj.org/?p=zsh.d.git;a=commitdiff_plain;h=fd2bbfe8cef59fc62f63238be58fab505cc69818 Minor: cosmetic --- 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/'~'}