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
..
2026-10-26 11:51:08 -05:00
2026-10-26 11:51:08 -05:00
2026-09-22 14:35:48 +02:00
2026-09-11 22:23:22 -05:00
2025-04-08 08:50:05 -07:00
2026-02-07 13:10:27 -06:00