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-09-30 13:08:34 -05:00
2026-08-15 22:00:11 +02:00
2026-09-25 13:02:11 -05:00
2025-06-23 16:20:26 -05:00
2025-09-26 14:53:41 -05:00
2026-10-04 20:17:49 -05:00
2026-09-30 16:13:23 -05:00
2026-03-26 16:24:39 -05:00
2026-07-06 20:46:24 -05:00
2026-09-12 22:36:06 -05:00
2025-06-23 16:20:26 -05:00
2026-03-22 11:53:53 -05:00
2025-06-23 16:20:26 -05:00
2026-08-17 15:47:31 -05:00
2026-08-16 19:46:12 -05:00
2026-06-11 00:13:36 +02:00
2026-02-01 13:06:18 +01:00
2026-09-30 14:53:09 -05:00
2026-01-08 16:30:04 -05:00
2026-08-05 10:21:22 -05:00
2026-05-18 10:35:29 -05:00
2026-08-23 21:00:38 -05:00
2026-09-25 13:02:11 -05:00
2026-04-22 15:50:22 -05:00
2026-05-18 23:42:01 +02:00
2025-06-23 16:20:26 -05:00
2026-04-12 10:58:28 -05:00
2026-04-13 22:02:40 -05:00
2026-08-05 08:36:22 -05:00
2026-04-26 09:55:25 -05:00
2026-09-30 16:47:55 +02:00
2026-10-15 12:32:55 -05:00
2025-08-06 10:57:16 -05:00
2026-09-25 13:02:11 -05:00
2026-09-25 13:02:11 -05:00
2026-09-05 18:29:19 -05:00
2026-09-24 10:54:04 -05:00
2026-10-10 09:23:11 -05:00
2025-06-23 16:20:26 -05:00
2025-07-27 07:03:54 -05:00
2025-10-05 17:19:26 -05:00
2026-04-08 16:00:28 -05:00
2025-06-23 16:20:26 -05:00
2025-11-22 12:35:42 -06:00
2026-08-23 14:25:06 +02:00
2026-06-10 09:48:41 -05:00
2026-10-15 16:12:44 -05:00
2026-09-01 21:50:53 -05:00
2026-06-02 08:56:09 -05:00
2026-09-11 09:27:35 -05:00
2026-09-25 13:02:11 -05:00
2026-04-08 10:10:44 -05:00
2026-09-21 15:16:33 -05:00
2026-03-22 12:39:22 -05:00
2026-09-24 10:54:04 -05:00
2026-06-17 10:48:10 -05:00
2026-09-05 16:31:52 -05:00
2025-06-23 16:20:26 -05:00
2025-11-04 08:34:45 -06:00
2025-12-03 12:58:50 -06:00
2025-06-23 16:20:26 -05:00
2026-09-25 13:02:11 -05:00
2025-11-22 14:51:05 -06:00
2026-09-13 10:01:07 -05:00
2026-09-05 10:04:42 -05:00
2026-09-30 15:26:17 -05:00
2026-07-08 17:33:28 -05:00
2025-11-22 12:48:17 -06:00
2026-09-10 15:21:46 -05:00
2026-10-26 11:40:58 -05:00
2025-11-22 14:51:05 -06:00
2026-09-25 13:02:11 -05:00
2026-07-21 22:13:44 -05:00
2025-11-09 10:12:54 -06:00
2026-09-24 10:54:04 -05:00
2026-09-03 18:57:06 +01:00
2026-07-28 12:55:08 -05:00
2026-09-24 10:54:04 -05:00
2026-09-05 09:16:08 -05:00
2026-01-08 12:31:15 -05:00
2026-07-19 21:31:31 +02:00
2026-08-26 08:23:02 -05:00
2026-07-11 21:30:09 -05:00
2026-10-23 10:26:28 -05:00
2026-10-23 09:47:43 -05:00
2025-06-23 16:20:26 -05:00
2025-06-23 16:20:26 -05:00
2026-04-13 22:02:40 -05:00
2026-01-08 16:30:04 -05:00
2025-09-19 10:43:34 -05:00
2026-01-09 10:17:21 -05:00
2025-11-22 14:51:05 -06:00
2026-09-21 10:07:57 +02:00
2026-09-25 13:02:11 -05:00
2026-09-24 10:54:04 -05:00
2025-09-07 09:32:32 -05:00