Commit Graph
11 Commits
Author SHA1 Message Date
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
K.B.Dharun Krishna efdfe2f29a feat(golang): add alias for go mod tidy (#12473) 2024-06-04 15:57:08 +02:00
milinches 37d9e1aee9 feat(golang): add goe, gove aliases
Closes #10914
2022-11-15 16:48:12 +01:00
180909 835a0a5d17 feat(golang): add gow alias for go work (#11105) 2022-08-10 16:18:59 +02:00
Marc Cornellà c9a1edeab8 fix(golang)!: rename gop alias to gopa to avoid conflict with Go+ (#10504)
BREAKING CHANGE: the `gop` alias has been renamed to `gopa` to avoid conflict with
Go+ `gop` command.

Fixes #10504
2021-12-26 20:38:01 +01:00
Chaithanya Naik 89596597e9 feat(golang): add aliases for go tool utility (#10361)
Closes #10361
2021-12-26 20:23:19 +01:00
CleanMachine1andChaithanya Naik 8e7cbafb32 feat(golang): add gofx alias for go fix (#10220)
Closes #10220

Co-authored-by: Chaithanya Naik <chaithanyampcrl@gmail.com>
2021-12-26 20:20:14 +01:00
Tristan Messner 4bd5d03e51 feat(golang): add goga alias to install dependencies in current directory, recursively (#7786)
Closes #7786
2021-09-16 16:59:03 +02:00
Muhammad Zahalqa 29ec52602f feat(golang): add gota to test current directory recursively (#8974) 2021-09-16 16:44:35 +02:00
Jacky Wu 7b2c4327e7 golang: add missing gom alias to README (#7961) 2019-06-27 18:49:00 +02:00
Bjorn Stange dfe7d6eca1 golang: add README (#7207) 2018-10-03 18:13:48 +02:00