Browse Source

Load dependencies in Git init

master
Sorin Ionescu 12 years ago
parent
commit
b0a71cae3c
  1. 3
      modules/git/functions/git-info
  2. 3
      modules/git/init.zsh

3
modules/git/functions/git-info

@ -64,9 +64,6 @@
# 'rprompt' '' # 'rprompt' ''
# #
# Load dependencies.
pmodload 'helper'
# Gets the Git special action (am, bisect, cherry, merge, rebase). # Gets the Git special action (am, bisect, cherry, merge, rebase).
# Borrowed from vcs_info and edited. # Borrowed from vcs_info and edited.
function _git-action { function _git-action {

3
modules/git/init.zsh

@ -10,6 +10,9 @@ if (( ! $+commands[git] )); then
return 1 return 1
fi fi
# Load dependencies.
pmodload 'helper'
# Source module files. # Source module files.
source "${0:h}/alias.zsh" source "${0:h}/alias.zsh"

Loading…
Cancel
Save