aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:35 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:35 +0100
commitdbd769d051f3dce8519f7e67a5efa0a27abfc078 (patch)
treee6f0d28f74167f5dfee27bc69fe566dc0f0cb9a2 /etc
parent3b1790712c54e330cde1c7ba7f1f7db2b97de19f (diff)
downloaddotfiles-dbd769d051f3dce8519f7e67a5efa0a27abfc078.tar.gz
dotfiles-dbd769d051f3dce8519f7e67a5efa0a27abfc078.tar.bz2
dotfiles-dbd769d051f3dce8519f7e67a5efa0a27abfc078.zip
feat(zsh): rebuild PATH hash on every completion
`zstyle ':completion:*' rehash true` makes zle re-scan $PATH directories on every TAB instead of caching the hash table at shell startup. Cost is trivial (one stat() per PATH entry per completion), benefit is that newly installed binaries — from paru, cargo install, pip install --user, npm install -g, manual /usr/local/bin drops, anything — show up immediately without an explicit `hash -r` or new shell. The pacman-hook alternative at https://wiki.archlinux.org/title/Zsh#Persistent_rehash only catches paru/pacman installs, missing cargo/pip/manual; rehash=true catches them all for the same negligible cost.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions