mirror of
https://github.com/andwati/dotfiles.git
synced 2026-10-18 02:52:52 +00:00
Add zsh config: oh-my-zsh + powerlevel10k, lazy-loaded nvm/pyenv
Cuts shell startup from ~440ms to ~150ms by lazy-loading nvm and pyenv (previously sourced eagerly on every shell start) and caching oh-my-zsh's completion rescan, which otherwise reran unconditionally every session. Also fixes a latent bug where oh-my-zsh's extendedglob option silently broke nvm's default-version auto-activation. Adds powerlevel10k, zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search, zsh-completions, you-should-use, fzf, and zoxide. install.sh bootstraps a fresh machine: symlinks these dotfiles and clones the oh-my-zsh theme/plugins.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
Reference in New Issue
Block a user