Files
oh-my-zsh/plugins
8ba0ed4ede fix(fossil): improve placement of the fossil prompt info (#11139)
* Better placement of Fossil prompt info

Instead of blindly tacking `$fossil_prompt_info` onto the end of the
prompt string and making assumptions about whether `$PROMPT` or
`$RPROMPT` are in use here, assume the user is using a theme that puts
`$git_prompt_info` in there somewhere and inject our info immediately
afterward.  The theme creator decided that's a good place for Git prompt
info, so that's a good place for Fossil prompt info, too.

This also replaces some calls out to `grep` with internal Zsh string
manipulation for less overhead.

* fix(fossil): fall back to RPROMPT when the theme has no git_prompt_info

Keeps today's behaviour for themes without git_prompt_info, and re-checks on
each prompt in case the theme rebuilds its prompt.

---------

Co-authored-by: Robby Russell <robby@planetargon.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 19:30:07 +01:00
..
2023-06-05 10:26:36 +02:00
2018-10-07 23:29:50 +02:00
2023-04-27 19:46:29 +02:00
2018-08-07 20:42:01 +02:00
2018-10-29 22:11:02 +01:00
2018-11-01 15:29:05 +01:00
2026-08-03 10:16:50 +02:00
2026-05-28 18:56:03 +02:00
2019-12-27 02:51:54 +01:00
2021-12-28 14:34:09 +01:00
2026-06-15 11:51:24 +02:00
2018-08-07 20:42:01 +02:00
2019-10-18 19:05:47 +02:00
2024-09-01 21:01:27 +02:00
2026-11-26 07:20:27 -08:00
2025-01-23 20:43:27 +01:00
2023-09-29 11:24:40 +01:00
2020-10-09 12:35:13 +02:00
2019-12-26 23:23:23 +01:00
2026-07-01 10:42:26 +02:00
2025-01-12 14:25:00 +01:00
2026-07-01 10:42:26 +02:00
2024-09-01 21:01:27 +02:00
2024-03-14 23:07:39 +07:00
2019-10-01 21:21:05 +02:00
2018-10-05 23:18:10 +02:00
2020-03-04 09:12:58 +01:00
2019-12-27 00:58:31 +01:00
2019-10-01 20:10:11 +02:00
2024-09-01 21:01:27 +02:00
2022-10-03 17:03:53 +02:00
2024-09-19 11:44:51 +02:00
2019-12-27 01:05:47 +01:00
2022-01-05 09:23:55 +01:00
2019-10-25 13:14:53 +02:00
2019-10-25 13:14:36 +02:00
2023-03-01 11:23:32 +01:00
2022-10-03 17:03:53 +02:00
2024-09-01 21:01:27 +02:00
2018-10-25 13:12:02 +02:00
2018-08-07 20:42:01 +02:00
2020-04-05 17:14:48 +02:00
2019-12-27 02:34:35 +01:00
2019-05-24 12:17:26 +02:00
2025-06-29 17:09:07 +02:00
2026-02-23 10:46:40 +01:00
2026-10-05 08:03:11 +02:00