init.zsh 349 B

123456789101112131415
  1. #
  2. # Initializes Prezto overrides
  3. #
  4. # Source local Prezto configuration
  5. ZPRESTORC_LOCAL="$(dirname "$(readlink -f "${0}")")/../preztorc"
  6. if [[ -s "${ZPRESTORC_LOCAL}" ]]; then
  7. source "${ZPRESTORC_LOCAL}"
  8. fi
  9. unset ZPRESTORC_LOCAL
  10. # Load Prezto modules overrides
  11. zstyle -a ':prezto:load' pmodule 'pmodules'
  12. pmodload "$pmodules[@]"
  13. unset pmodules