anti
65ddaaa681
fix(behave_shell/F.0): tighten prompt detector — log lines ending in '>' no longer vote
...
_detect_prompt_suffix accepted ANY line ending in $#%> as a PS1 prompt,
so a single `cat /var/log/dpkg.log` (195 lines closing in `<none>`)
flooded environmental.shell_type votes and flipped a plainly-bash
session to fish.
A prompt line now requires either a trailing space after the suffix
(default PS1 shape across bash/zsh/fish/PowerShell) or a PS1-shape
token (user@host, "PS " prefix, or a Windows drive-letter prefix).
Regression tests pin the dpkg.log false-positive and a $-terminated
prose line.
2026-05-09 02:57:40 -04:00
..
2026-05-03 07:42:09 -04:00
2026-05-08 18:33:51 -04:00
2026-05-03 23:52:29 -04:00
2026-05-03 08:00:50 -04:00
2026-05-04 00:01:45 -04:00
2026-05-04 00:00:36 -04:00
2026-05-03 23:58:58 -04:00
2026-05-03 23:54:03 -04:00
2026-05-03 07:55:38 -04:00
2026-05-03 07:56:49 -04:00
2026-05-03 07:52:39 -04:00
2026-05-03 23:55:16 -04:00
2026-05-03 23:56:22 -04:00
2026-05-03 23:46:31 -04:00
2026-05-03 07:50:55 -04:00
2026-05-08 16:35:29 -04:00
2026-05-08 16:37:29 -04:00
2026-05-08 16:36:34 -04:00
2026-05-08 16:34:27 -04:00
2026-05-04 00:38:24 -04:00
2026-05-04 00:35:31 -04:00
2026-05-04 00:40:42 -04:00
2026-05-04 00:30:24 -04:00
2026-05-04 00:33:44 -04:00
2026-05-03 07:47:38 -04:00
2026-05-08 22:52:46 -04:00
2026-05-08 16:27:25 -04:00
2026-05-03 21:29:31 -04:00
2026-05-03 21:27:46 -04:00
2026-05-03 07:47:38 -04:00
2026-05-03 21:24:13 -04:00
2026-05-03 21:25:54 -04:00
2026-05-03 07:49:03 -04:00
2026-05-03 23:34:54 -04:00
2026-05-03 23:33:07 -04:00
2026-05-03 23:31:20 -04:00
2026-05-08 16:32:08 -04:00
2026-05-08 16:33:15 -04:00
2026-05-08 16:28:45 -04:00
2026-05-08 16:29:48 -04:00
2026-05-03 07:46:01 -04:00
2026-05-08 18:51:30 -04:00
2026-05-09 02:57:40 -04:00
2026-05-08 18:30:50 -04:00
2026-05-04 00:13:45 -04:00
2026-05-04 00:42:25 -04:00
2026-05-04 00:15:05 -04:00
2026-05-04 00:10:57 -04:00
2026-05-08 18:34:23 -04:00
2026-05-08 18:57:45 -04:00
2026-05-08 18:57:45 -04:00