Commit Graph

306 Commits (20b87731de26638f40dce1bfc89f5b5a207e090f)

Author SHA1 Message Date
Patrick Tavares 20b87731de add availability to display or not Terraform version
Show Terraform version segment only when *.tf files are present in current directory
3 years ago
Roman Perepelitsa 2c135dd631 make terraform_version consistent with other *_version segments (#1487) 3 years ago
Alejandro Gandara 9f98915167 * 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.
3 years ago
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.
3 years ago
Chris Williams 1e7be00e04
show kubecontext show for 'flux' (#1480)
Support for flux v2 CLI

Co-authored-by: Chris Williams <chris.williams@amwell.com>
3 years ago
Roman Perepelitsa 4ba3c010f6 display "wip" in git status if the latest commit's summary contains "wip" or "WIP" (#1425) 3 years ago
Roman Perepelitsa c7ad00b5a5 add P9K_AWS_PROFILE and P9K_AWS_REGION and use it in default configs 4 years ago
Alex Jurkiewicz aa4d366341 Add region support for aws element 4 years ago
Roman Perepelitsa 69d3650958 hide python version in pyenv in lean/classic/rainbow if the rest of the content starts with it (#1376) 4 years ago
Maxim Baz 9c034101fe
Add xplr segment (#1396) 4 years ago
Roman Perepelitsa f924646194 add P9K_IP_{RX,TX}_BYTES_DELTA to the list of parameters available within POWERLEVEL9K_IP_CONTENT_EXPANSION (#1392) 4 years ago
Roman Perepelitsa d28e84ca70 don't display git tag when on a branch (#1294) 4 years ago
bcochofel 3920940ea8
add fluxctl and stern to show kubecontext (#1268) 4 years ago
Dhananjay Tanpure d26bdcd601
Added wlan(w) to regular expression of network interfaces. (#1224)
Name of network interface is generally wlan0 or wlp3s0.
4 years ago
Julio Carlos Barrera Juez 33f20f5eae
Add tailscale in VPN network interface regex. (#1208) 4 years ago
Roman Perepelitsa 59db4252bb uncomment BACKGROUND and FOREGROUND parameters in p10k-classic.zsh; comments confuse users (#1182) 4 years ago
Samuel Gräfenstein 38a5492b5f
Remove trailing whitespace (#1173) 4 years ago
Roman Perepelitsa a5d0525c6a refactor my_git_formatter to make it easier to change it so that tag is always displayed 4 years ago
Roman Perepelitsa fc854fa719 fix a comment above POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION in lean style 4 years ago
Roman Perepelitsa 439ce3ed4e dir: add _NON_EXISTENT similarly to _NON_WRITABLE (requires POWERLEVEL9K_DIR_SHOW_WRITABLE=v3)
See #1160.
4 years ago
Felix Yan 31ede3c1d3
Correct some typos in zsh conf (#1119) 4 years ago
Roman Perepelitsa 54d40b924c support POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=if-different; see #730 4 years ago
Lucas Larson 12cef82077
repair spelling of "occurrences" (#998) 4 years ago
Roman Perepelitsa 622130980c add scalaenv prompt segment; see #991 4 years ago
Roman Perepelitsa 6c8c6eea1b typo in comments 4 years ago
Roman Perepelitsa cababbeee2 wifi on linux: fix bugs and speed things up 4 years ago
Roman Perepelitsa 2a4c962c21 add "gpd" to the list of default VPN network interfaces; see #979 4 years ago
Roman Perepelitsa 6279aa57d7 add k9s, helmfile and terragrunt to some SHOW_ON_COMMAND params; #904 4 years ago
Roman Perepelitsa dca8774f1b add an empty line after the branch/tag truncation logic 4 years ago
Roman Perepelitsa 711490252e enable extended_glob in p10k-{pure,robbyrussell}.zsh to fix `unset -m` 4 years ago
Roman Perepelitsa 6dfd92f8c1 allow optional offset in POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER; see #896 4 years ago
Henry Bley-Vroman 34952e4a85
Fix POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD comments (#880) 4 years ago
Roman Perepelitsa 0c341b6702 Merge branch 'ancarpan-terraform-show-default' 4 years ago
Andrea Carpani 882cede0ae Add option to show terraform workspace even if it's default 4 years ago
mundry d394a4e038
Fix typo in config comment. (#836)
Co-authored-by: mundry <mundry@users.noreply.github.com>
4 years ago
Roman Perepelitsa faa510d54c explicitly mention that POWERLEVEL9K_ASDF_${TOOL}_FOREGROUND overrides POWERLEVEL9K_ASDF_FOREGROUND; see #817 4 years ago
Roman Perepelitsa a43b1b34d8 add an icon and asdf colors for julia; see #817 4 years ago
Roman Perepelitsa e3f582f246 survive people explicitly disabling conda prompt and then expecting to see it 4 years ago
Roman Perepelitsa 7760aa66d7 don't unset POWERLEVEL9K_GITSTATUS_DIR in config templates 5 years ago
Roman Perepelitsa 189ecf8e16 remove traling ")" from conda even if it is not followed by space 5 years ago
romkatv 644488afcc change the default anaconda format in config templates
Also document how to configure it.

See #762.
5 years ago
romkatv be83ec430c replace Ⅴ (roman numeral 5) with V (ascii); see #754 5 years ago
romkatv 6998d06a91 pyenv: display python version alongside environment name if unequal
See #730.
5 years ago
romkatv f96c1eb5e5 add POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false to config templates
See #730.
5 years ago
romkatv 6c83ace41c uncomment POWERLEVEL9K_DIR_BACKGROUND 5 years ago
romkatv 3ddb8025d5 fix POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN example 5 years ago
romkatv 459af1f238 allow dir styling based on the pair: $PWD and whether it's writable
fixes #678
5 years ago
romkatv 7c4b0f36c0 support POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=first; see #669 5 years ago
romkatv aca2f19fa3 define POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_GAP_BACKGROUND in rainbow and classic config templates (see #655) 5 years ago
romkatv 681f504d8a unset DEFAULT_USER in generated .p10k.zsh; see #640 5 years ago