Commit Graph
15 Commits
Author SHA1 Message Date
andwati 344a400b20 updates 2026-09-15 08:16:38 +03:00
andwati e3a4c4d9fb fix(zsh): remove buggy compinit caching hack causing broken tab completion
The custom fast-path check used an inverted glob qualifier (mh+24 matches
stale dumps, not fresh ones), so on a stale dump it ran `compinit -C`
against the same file oh-my-zsh uses, producing a near-empty completions
cache instead of a real one. Also drops the redundant compinit call the
deno installer appended, since oh-my-zsh already handles it.

Also picks up pending drift: deno FPATH/env sourcing, pnpm home path,
and git init.defaultBranch.
2026-08-12 13:37:50 +03:00
andwati 9d3f45a821 fix(zsh): stop lazy-loading nvm, source it eagerly instead
The lazy-load stub wired nvm/node/npm/npx/corepack as wrapper functions
that called a private helper, _nvm_lazy_load, to source nvm.sh on first
real use. That helper went missing in some non-interactive shell contexts
(e.g. a coding agent's captured shell snapshot only kept the public
wrapper functions, not the underscore-prefixed helper), leaving the
wrappers calling a function that no longer existed - infinite recursion
via FUNCNEST, every npm/node/nvm invocation broken.

Sourcing nvm.sh eagerly costs 300-700ms on shell startup but has no
moving parts to go missing.
2026-08-04 12:22:45 +03:00
andwati 20df614d54 update configs 2026-07-26 20:43:00 +03:00
andwati a48be5af09 Track gpg-agent passphrase caching config
Bumps the GPG passphrase cache from the 10-minute default to 8 hours
(24h hard cap) and switches to pinentry-qt for a native KDE dialog, so
signed commits stop re-prompting constantly.
2026-07-25 23:31:13 +03:00
andwati bcfb1ce883 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.
2026-07-25 23:26:19 +03:00
andwati e87c64c3be cleanup 2026-05-19 12:59:43 +03:00
andwati 84c5c9b232 takeout the trash 2025-06-24 13:18:44 +03:00
andwati 00eeadaa92 init new configs 2025-06-24 13:07:26 +03:00
andwati 5866b619cc stow folder setup 2025-01-20 22:30:20 +03:00
andwati ba2f2a0e64 zsh configs 2025-01-20 22:26:50 +03:00
andwati 1fc7561dea completed zshrc configs 2024-12-29 13:42:37 +03:00
andwati 4748b2659e zsh 2024-12-29 12:24:49 +03:00
andwati a3120e2a75 zsh configs 2024-12-20 23:18:47 +03:00
andwati 02f2a0b535 zsh configs 2024-12-20 23:14:45 +03:00