Skip to main content

Work out whether the oh-my-zsh config is dead

zsh/ohmyzsh.zsh:70 has source $ZSH/oh-my-zsh.sh commented out.

If nothing else loads oh-my-zsh, then everything in that file does nothing: the whole plugins=(...) array (git, docker, kubectl, aws, nvm, zsh-autosuggestions, zsh-syntax-highlighting, zsh-z) and the powerlevel10k theme setting.

Both the README and WARP.md advertise that plugin set as a feature, so either the docs are wrong or the config is.

Fix

Check ~/.zshrc first, oh-my-zsh may well be sourced there instead, in which case this file is just confusing leftovers and the plugin list should move to wherever it actually takes effect.

Quick test:

echo $ZSH && type _omz_source 2>/dev/null || echo "oh-my-zsh not loaded"

If it isn't loaded, decide whether you actually want those plugins. zsh-autosuggestions and zsh-syntax-highlighting are the two worth having.

.zshenv:43 overrides precmd() wholesale, which is the sort of thing that quietly breaks a powerlevel10k prompt. Worth checking at the same time.