Files
erics118 095fef2f26 zsh: skip mkdir history directory when it exists
Every interactive shell ran `mkdir -p "$(dirname "$HISTFILE")"`, which
forks twice, even though the directory almost always exists. It costs
~10ms on macOS 27.

We now test if the directory exists first and use zsh's `:h` modifier
instead of dirname, so the most of the time no processes are started.
The directory is still created when missing.
2026-10-28 08:13:25 -05:00
..
2025-05-07 10:34:18 -05:00
2026-06-19 10:00:25 -05:00