init.zsh 332 B

123456789101112131415161718192021
  1. #
  2. # Provides Git aliases and functions.
  3. #
  4. # Authors:
  5. # Sorin Ionescu <sorin.ionescu@gmail.com>
  6. #
  7. # Return if requirements are not found.
  8. if (( ! $+commands[git] )); then
  9. return 1
  10. fi
  11. # Load dependencies.
  12. pmodload 'helper'
  13. # Load 'run-help' function.
  14. autoload -Uz run-help-git
  15. # Source module files.
  16. source "${0:h}/alias.zsh"