~nilium/dotfiles

ref: b65edc1f98c9fec1eeb791f5aca1fdd0c031e4f0 dotfiles/zsh/zshrc -rw-r--r-- 537 bytes
b65edc1fNoel Cower zsh: Disable OMZ updates, use 'load' 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export ZSH_CUSTOM="$HOME/.zsh"
# OMZ, you are annoying, stop that.
export DISABLE_AUTO_UPDATE=true

if [[ "${USE_ZGEN-1}" == 1 ]]; then
  source "$ZSH_CUSTOM/zgen/zgenom.zsh"

  if ! zgenom saved; then
    zgenom ohmyzsh

    zgenom ohmyzsh plugins/git
    zgenom load zsh-users/zsh-syntax-highlighting

    for plug in  "$ZSH_CUSTOM/plugins/"*; do
      zgenom load "$plug"
    done

    export ZSH_THEME=gentoo-nil
    zgenom load "$ZSH_CUSTOM/themes/gentoo-nil.zsh-theme"
    zgenom load "$HOME/.local.zshrc"

    zgenom save
  fi
fi