1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 21:20:07 +00:00
powerlevel10k/internal
Alejandro Gandara f717a91f55 * Added new module for showing in prompt the active terraform version.
* Prompt shows, the terraform version in this format: Terraform v0.12.13 . If only if a valid terraform command is used, or an alias to it.

The use case: We have a need to constantly change between terraform versions depending on what project we are working on, it is easy to by mistake upgrade the wrong project to the latest terraform version. This is why the prompt is shown in red as soon as you type terraform, this is a good way to remind you to double check this is the terraform version you want to use.

Future improvements:
Detect current terraform version by checking the terraform workspace state version, and change the terraform color prompt from red to green if you're using the same version.
2021-07-14 22:52:22 +01:00
..
configure.zsh wizard: don't refuse to start if ZDOTDIR is not writable; see #987 2020-08-30 13:40:12 +02:00
icons.zsh Fix icon padding for VCS bookmark icon (#1414) (#1415) 2021-05-26 07:40:05 -07:00
notes.md notes 2020-06-15 17:56:32 +02:00
p10k.zsh * Added new module for showing in prompt the active terraform version. 2021-07-14 22:52:22 +01:00
parser.zsh don't leak 'token' local variable in parser (#1407) 2021-05-24 09:19:13 +02:00
wizard.zsh Update os icon at zsh.exe on git for windows (#1180) 2020-12-23 17:58:10 +01:00
worker.zsh remove spurious error messages from _p9k_worker_stop 2020-06-03 09:22:15 +02:00