mirror of
https://github.com/andwati/dotfiles.git
synced 2026-11-10 22:15:11 +00:00
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.
4 lines
125 B
Bash
4 lines
125 B
Bash
export PYENV_ROOT="$HOME/.pyenv"
|
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
eval "$(pyenv init --path)"
|