SHARE
TWEET

Untitled

a guest Jun 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env zsh
  2.  
  3. # A hash array for zplug
  4. typeset -gx -A zplugs
  5. zplugs=()
  6.  
  7. # A variable as a starting point of zplug
  8. typeset -gx ZPLUG_ROOT="${${(%):-%N}:A:h}"
  9.  
  10. # Load basic functions such as an __zplug::base function
  11. source "$ZPLUG_ROOT/base/init.zsh"
  12. # Load autoloader
  13. source "$ZPLUG_ROOT/autoload/init.zsh"
  14.  
  15. __zplug::base "base/*"
  16. __zplug::base "core/*"
  17. __zplug::base "io/*"
  18. __zplug::base "log/*"
  19. __zplug::base "job/*"
  20. __zplug::base "sources/*"
  21. __zplug::base "utils/*"
  22.  
  23. if ! __zplug::core::core::prepare; then
  24.     __zplug::io::print::f \
  25.         --die \
  26.         --zplug \
  27.         --error \
  28.         "The loading of zplug was discontinued.\n"
  29.     return 1
  30. fi
  31.  
  32. # Load the external file of zplug
  33. __zplug::io::file::load
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top