summaryrefslogtreecommitdiff
path: root/config/zshrc
AgeCommit message (Collapse)Author
2026-10-05zsh: Caps Lock no longer types junk at a prompt without tmuxIgor Soarez
Caps Lock sends F20, which a terminal with no tmux in front of zsh passes on as ESC[34~ (Alacritty 0.17.0, input/keyboard.rs). Nothing bound it, so zsh split the sequence and typed what was left at the prompt, once per repeat. Bound as a whole to nothing, it is consumed as one key; replayed over a pty, three presses typed 4~4~4~ before and nothing after. The zsh half of the fix for Neovim and tmux. From change request 47bf8a.
2026-09-21zshrc: find Homebrew's completions on the prefix this machine usesIgor Soarez
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.
2026-09-17dotfilesIgor Soarez
Shell, editor and terminal configuration, the tools that go with them, and szecret, an age-based secret manager whose store lives elsewhere. History restarts here. What came before was not written to be read by anyone else, and carried machine names, addresses and an encrypted secret store; it is kept privately instead. What is left is meant to be safe on any machine, including one whose owner is not me: see CLAUDE.md for the rule it is written to.