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