Files
oh-my-zsh/plugins
Grant StephensandClaude Sonnet 5 8d10cc9488 feat(go): Create go_prompt_info to add Go version to theme prompts (#8924)
* Create go_prompt_info to add go version to prompts

* golang: move go_prompt_info to plugin, guard and quote output

Addresses review feedback: the prompt helper only belongs to Go
developers, so it moves out of lib/ (sourced for every shell) into
plugins/golang/golang.plugin.zsh. Adds a $+commands[go] guard so
users without Go installed don't spawn a process or see a stderr
error on every prompt render, quotes the version output the same
way the rvm/nvm helpers do so a % can't be read as a prompt escape,
and adds the dummy go_prompt_info stub to
lib/prompt_info_functions.zsh for themes that call it when the
plugin isn't loaded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0193G8TyNqmNnv6v9HsVafGa

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 07:49:06 -07: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
2026-06-01 10:55:38 +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-07-01 10:42:26 +02: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
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
2018-10-28 13:22:26 +01:00
2020-09-26 12:38:31 +02: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
2025-04-29 10:34:33 +02:00
2023-03-01 11:23:32 +01:00
2022-10-03 17:03:53 +02:00
2018-12-31 11:14:22 -08: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