.zshrc 531 B

1234567891011121314151617181920212223242526
  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 "${HOME}/.zsh", from:local, defer:1
  8. zplug "${HOME}/.zsh/fzf", from:local, if:"command -v fzf"
  9. if ! zplug check --verbose; then
  10. printf "Install? [y/N]: "
  11. if read -q; then
  12. echo; zplug install
  13. fi
  14. fi
  15. zplug load
  16. autoload -Uz compinit
  17. if [[ -n ~/.zcompdump(#qN.mh+24) ]]; then
  18. compinit
  19. touch ~/.zcompdump
  20. else
  21. compinit -C
  22. fi