~nilium/dotfiles

b65edc1f98c9fec1eeb791f5aca1fdd0c031e4f0 — Noel Cower a month ago a0073a1 main
zsh: Disable OMZ updates, use 'load'

Disable oh-my-zsh update prompts because that is the most annoying
thing on the planet and it should either default to off or
auto-updating, not prompting. Since I don't like things breaking
because OMZ has a new opinion on things, I'm going with disabled.

Also use load instead of compile for the local zshrc because I keep
making this change on every machine.
1 files changed, 3 insertions(+), 1 deletions(-)

M zsh/zshrc
M zsh/zshrc => zsh/zshrc +3 -1
@@ 1,4 1,6 @@
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"


@@ 15,7 17,7 @@ if [[ "${USE_ZGEN-1}" == 1 ]]; then

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

    zgenom save
  fi