lotherk
6166acfdea
config: a leading ~ is the home directory
...
The shipped --init-config template suggests "session_dir = ~/.splinter" and
"tools_root = ~/src". Nothing expanded "~": no shell is involved in reading
the file, so the first created a directory literally named "~" in the cwd and
the second made the tool fence match nothing.
set_path() now expands a leading "~/" (or a bare "~") for the settings that
name a place on disk: session_dir, state_dir, skills_dir, tools_root. A
"~user" form is left alone rather than half-guessed.
Verified: the template with both lines uncommented starts, writes its sessions
under $HOME and leaves no "~" directory behind; tests/test_config covers the
expansion (3 checks red without it, green with it); make check: all tests
passed.
2026-11-23 16:55:49 +00:00
..
2026-11-21 21:26:43 +00:00
2026-11-19 00:05:05 +00:00
2026-11-18 23:16:26 +00:00
2026-11-23 08:30:29 +00:00
2026-11-18 23:03:09 +00:00
2026-11-13 19:35:41 +00:00
2026-11-16 14:06:54 +00:00
2026-11-17 12:31:58 +00:00
2026-11-10 06:04:58 +00:00
2026-11-22 13:20:45 +00:00
2026-11-11 22:12:26 +00:00
2026-11-22 13:20:45 +00:00
2026-11-12 03:30:32 +00:00
2026-11-22 08:25:42 +00:00
2026-11-22 17:31:36 +00:00
2026-11-10 08:49:27 +00:00
2026-11-19 00:05:05 +00:00
2026-11-23 01:11:56 +00:00
2026-11-23 01:11:56 +00:00
2026-11-16 14:06:54 +00:00
2026-11-10 06:04:58 +00:00
2026-11-21 21:26:43 +00:00
2026-11-23 11:12:04 +00:00
2026-11-21 21:26:43 +00:00
2026-11-21 21:26:43 +00:00
2026-11-23 08:30:29 +00:00
2026-11-22 15:27:54 +00:00
2026-11-21 21:26:43 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 23:16:26 +00:00
2026-11-21 21:26:43 +00:00
2026-11-23 12:37:42 +00:00
2026-11-08 20:19:01 +00:00
2026-11-22 10:26:06 +00:00
2026-11-21 21:26:43 +00:00
2026-11-11 10:25:49 +00:00
2026-11-07 08:06:34 +00:00
2026-11-23 01:32:38 +00:00
2026-11-22 20:09:41 +00:00
2026-11-22 11:34:21 +00:00
2026-11-21 21:25:51 +00:00
2026-11-18 23:16:26 +00:00
2026-11-23 16:55:49 +00:00
2026-11-18 23:03:09 +00:00
2026-11-21 21:25:51 +00:00
2026-11-11 17:13:20 +00:00
2026-11-23 10:23:17 +00:00
2026-11-23 08:30:29 +00:00
2026-11-22 23:19:12 +00:00
2026-11-21 21:25:51 +00:00
2026-11-22 23:57:00 +00:00
2026-11-22 22:52:51 +00:00
2026-11-23 00:56:58 +00:00
2026-11-23 01:11:56 +00:00
2026-11-22 17:31:36 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 06:48:01 +00:00
2026-11-23 06:33:12 +00:00
2026-11-17 19:13:59 +00:00
2026-11-17 10:10:47 +00:00
2026-11-18 23:03:09 +00:00
2026-11-08 20:50:33 +00:00
2026-11-21 21:26:43 +00:00
2026-11-18 23:16:26 +00:00
2026-11-18 12:22:52 +00:00
2026-11-09 22:46:25 +00:00
2026-11-18 23:03:09 +00:00
2026-11-10 08:56:23 +00:00
2026-11-13 20:52:46 +00:00
2026-11-11 22:12:26 +00:00
2026-11-22 21:32:31 +00:00
2026-11-23 13:22:14 +00:00
2026-11-23 09:33:58 +00:00
2026-11-21 21:26:43 +00:00
2026-11-23 12:55:04 +00:00
2026-11-18 23:16:26 +00:00
2026-11-18 23:03:09 +00:00
2026-11-23 00:13:49 +00:00
2026-11-22 13:20:45 +00:00
2026-11-23 13:22:14 +00:00
2026-11-22 13:20:10 +00:00
2026-11-18 23:03:09 +00:00
2026-11-08 13:00:47 +00:00
2026-11-23 10:23:11 +00:00
2026-11-20 16:45:36 +00:00
2026-11-07 08:06:34 +00:00
2026-11-07 13:34:26 +00:00
2026-11-22 23:39:57 +00:00
2026-11-22 08:25:42 +00:00
2026-11-16 17:48:22 +00:00