Mitchell Hashimoto
ad861d0821
zsh: fix trailing '%' in PS1/PS2 combining with marks ( #11832 )
...
When PS1 ends with a bare '%' (e.g. `%3~ %`), concatenating our 133;B
mark (`%{...%}`) directly after it causes zsh's prompt expansion to
interpret the '%' + '{' result as a '%{' escape sequence. This swallows
the 133;B mark and produces a visible '{' in the prompt.
Work around this by doubling a trailing '%' into '%%' before appending
marks, so it expands to a literal '%' and won't merge with the `%{`
token.
2026-03-25 08:47:39 -07:00
..
2026-03-23 07:29:36 +01:00
2026-03-13 13:56:14 -07:00
2026-03-24 08:07:31 +01:00
2026-03-15 21:04:35 -04:00
2026-03-23 09:17:34 -07:00
2025-10-03 07:10:43 -07:00
2026-02-17 20:35:25 -08:00
2026-03-15 20:58:43 -04:00
2026-03-24 17:12:35 +01:00
2026-03-23 09:11:23 -07:00
2026-03-13 13:56:14 -07:00
2026-03-24 20:12:57 +01:00
2026-03-23 14:20:02 -07:00
2026-03-23 09:14:46 -07:00
2026-03-25 10:58:06 -04:00
2026-03-23 11:57:14 -07:00
2025-10-03 18:52:26 +02:00
2025-12-10 22:31:27 -06:00
2026-03-24 14:23:42 -07:00
2026-03-03 09:48:48 +01:00
2026-03-23 15:30:18 -07:00
2026-01-27 09:44:55 -05:00
2026-02-01 14:32:37 -08:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2025-07-09 15:06:24 -07:00
2026-03-04 22:35:58 -06:00
2026-03-23 09:11:23 -07:00
2025-11-17 12:13:56 -07:00
2025-06-25 16:27:23 -04:00
2025-12-15 11:54:36 -08:00
2026-03-24 08:07:31 +01:00
2026-03-15 15:37:54 -07:00
2026-03-24 11:11:07 -07:00
2025-11-27 13:37:53 -08:00
2026-03-24 08:07:31 +01:00
2025-11-17 12:13:56 -07:00
2025-11-27 13:37:53 -08:00
2026-01-21 09:39:02 -08:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2026-03-20 10:37:42 -05:00
2026-03-19 22:01:16 -05:00
2025-12-08 13:19:16 +08:00
2026-02-27 10:13:03 -06:00
2026-03-15 15:48:36 -07:00
2026-03-19 22:01:16 -05:00
2025-11-26 08:50:04 -08:00
2026-01-21 15:30:49 -08:00