diff options
| author | 2026-05-13 13:43:35 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:35 +0100 | |
| commit | dbd769d051f3dce8519f7e67a5efa0a27abfc078 (patch) | |
| tree | e6f0d28f74167f5dfee27bc69fe566dc0f0cb9a2 /etc | |
| parent | 3b1790712c54e330cde1c7ba7f1f7db2b97de19f (diff) | |
| download | dotfiles-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
