summaryrefslogtreecommitdiff
path: root/config/bashrc
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-09-21 15:26:23 +0300
committerIgor Soarez <igor@soarez.org>2026-09-21 15:26:23 +0300
commitd312cb2acca4cff77c82ea4467585e0a2814c47c (patch)
tree21686d25d794cfca4707a1794be731ae3852ed6e /config/bashrc
parent73031b778fa3460181be045bf06587917c13ebd5 (diff)
zshrc: find Homebrew's completions on the prefix this machine uses
fpath carried /usr/local/share/zsh-completions, which is wrong twice over: Apple Silicon puts Homebrew under /opt/homebrew, and formulae install their completions into share/zsh/site-functions, not the share/zsh-completions of the formula by that name. The directory existed on neither Mac, so _brew, _bat, _deno and the rest have been missing all along -- silently, since a missing fpath entry says nothing. All four candidates are probed now, HOMEBREW_PREFIX first where a machine exports it. No `brew --prefix`: that forks on every interactive shell, and this file already pays for one of those further down.
Diffstat (limited to 'config/bashrc')
0 files changed, 0 insertions, 0 deletions