Commit Graph
16 Commits
Author SHA1 Message Date
andwati be6d51b1ea updates 2026-11-02 10:16:23 +03:00
andwati 85f0025bf4 updates 2026-09-15 08:16:38 +03:00
andwati 0c87d8ff3f 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 59e42514e6 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 5baf3df0c4 update configs 2026-07-26 20:43:00 +03:00
andwati 3d328e204b 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 e37cb4fabc 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 85b13ff05b cleanup 2026-05-19 12:59:43 +03:00
andwati 02d9cf7b90 takeout the trash 2025-06-24 13:18:44 +03:00
andwati ab465c76b8 init new configs 2025-06-24 13:07:26 +03:00
andwati f8ae5e8f6e stow folder setup 2025-01-20 22:30:20 +03:00
andwati 7094248179 zsh configs 2025-01-20 22:26:50 +03:00
andwati 752aa37d8d completed zshrc configs 2024-12-29 13:42:37 +03:00
andwati 352b409efb zsh 2024-12-29 12:24:49 +03:00
andwati c9981db771 zsh configs 2024-12-20 23:18:47 +03:00
andwati 46a7a29a68 zsh configs 2024-12-20 23:14:45 +03:00