This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
Suggested Integration: Prompt Tooling Integration #73
michaeltlombardi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are numerous cross-platform cross-shell prompt tools available now, including starship (written in rust) and oh-my-posh v3 written in go. With these tools, when I'm in a code project on my machine, I'm able to get some information automatically loaded into my prompt.
In the example below (using starship), my prompt knows I'm in a ruby project and automatically adds a powerline segment to my prompt to indicate this and the version of ruby I have loaded.
I think it would be useful to me as a Puppet module developer to have a similar prompt segment for when I'm in a Puppet module which indicates which version of Puppet I have loaded via the PDK.
Both tools also allow additional prompt segments, so if other useful info comes up that makes sense to put in a prompt, we could add those as well - but I do think version info is likely the most useful.
Beta Was this translation helpful? Give feedback.
All reactions