From b0a71cae3c17b6d0cfea880d6df3a83181309ea7 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 29 Sep 2012 13:07:31 -0400 Subject: [PATCH] Load dependencies in Git init --- modules/git/functions/git-info | 3 --- modules/git/init.zsh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/git/functions/git-info b/modules/git/functions/git-info index 07ebf803..6c7a1f68 100644 --- a/modules/git/functions/git-info +++ b/modules/git/functions/git-info @@ -64,9 +64,6 @@ # 'rprompt' '' # -# Load dependencies. -pmodload 'helper' - # Gets the Git special action (am, bisect, cherry, merge, rebase). # Borrowed from vcs_info and edited. function _git-action { diff --git a/modules/git/init.zsh b/modules/git/init.zsh index 81a7b737..3a618f23 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -10,6 +10,9 @@ if (( ! $+commands[git] )); then return 1 fi +# Load dependencies. +pmodload 'helper' + # Source module files. source "${0:h}/alias.zsh"