-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add terraform workspace segment #75
Conversation
The existence of the .terraform dir and test for it is the WIP part I've identified and not too sure about (not very familiar with golang) Edit: I think this is working now, after testing locally and running the gh actions. But very open to improvement suggestions :) |
@matsest feel free to reach out for help when you need it, I'm here to assist. Great work overall, looking forward to merging this 👍🏻 |
e0c88d1
to
9646f7b
Compare
2 comments and a general remark, can you squash all these commits into 1? It's small enough to be in a single commit context. |
@JanDeDobbeleer Sounds good! Will fix this when I'm back home tomorrow evening |
9646f7b
to
fcdbebf
Compare
Thanks for the helpful review. I've gone through your review comments, rebased and squashed the PR into one commit. Hope it looks good now @JanDeDobbeleer :) |
Only need to remove the properties in the docs and it can be merged! |
fcdbebf
to
7b0865a
Compare
Prerequisites
CONTRIBUTING
guideDescription
This adds support for showing the current terraform workspace name.
Inspired by a bash prompt I've used to show the current workspace: