.zshrc 552 B

1234567891011121314151617181920212223242526272829
  1. export ZPLUG_HOME="$HOME/.zsh/zplug"
  2. source "$ZPLUG_HOME/init.zsh"
  3. zplug t413/zsh-background-notify
  4. zplug rimraf/k
  5. zplug tarrasch/zsh-bd
  6. zplug zsh-users/zsh-syntax-highlighting, defer:2
  7. zplug zsh-users/zaw
  8. zplug "${HOME}/.zsh", from:local
  9. if [ -f "$HOME/.zshrc.local" ]; then
  10. source $HOME/.zshrc.local
  11. fi
  12. if ! zplug check --verbose; then
  13. printf "Install? [y/N]: "
  14. if read -q; then
  15. echo; zplug install
  16. fi
  17. fi
  18. zplug load
  19. autoload -Uz compinit
  20. if [[ -n ~/.zcompdump(#qN.mh+24) ]]; then
  21. compinit
  22. touch ~/.zcompdump
  23. else
  24. compinit -C
  25. fi