mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 16:18:00 +00:00
8003d0c6d8
Now that, prezto is configured to lookup more specific 'run-help' function, autoload the known one for git.
21 lines
332 B
Bash
21 lines
332 B
Bash
#
|
|
# Provides Git aliases and functions.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
# Return if requirements are not found.
|
|
if (( ! $+commands[git] )); then
|
|
return 1
|
|
fi
|
|
|
|
# Load dependencies.
|
|
pmodload 'helper'
|
|
|
|
# Load 'run-help' function.
|
|
autoload -Uz run-help-git
|
|
|
|
# Source module files.
|
|
source "${0:h}/alias.zsh"
|