1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-23 04:40:06 +00:00
Commit graph

235 commits

Author SHA1 Message Date
Zaidhaan Hussain
4ed8aae324 nvm: implement POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW and default to false 2023-05-07 17:16:16 +08:00
Zaidhaan Hussain
5d16c106ed nvm: implement POWERLEVEL9K_NVM_SHOW_SYSTEM and default to true 2023-05-07 00:33:06 -07:00
Roman Perepelitsa
bab655fb1f do not infer nix_shell from PATH unless POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246) 2023-04-12 11:07:32 +02:00
NatureLR
373337123c Added kubecolor to KUBECONTEXT_SHOW_ON_COMMAND 2023-03-03 16:56:35 +01:00
Roman Perepelitsa
e7b2bb2372 set POWERLEVEL9K_VPN_IP_INTERFACE to the same value as the default: this adds ZeroTier support 2023-01-28 12:50:42 +01:00
kvanzuijlen
35165798a8 Added kubent to KUBECONTEXT_SHOW_ON_COMMAND 2023-01-06 12:14:59 +01:00
Utkarsh Verma
07b5a607d4
Add lf segment 2022-12-16 19:55:25 +05:30
Roman Perepelitsa
bd0c9f4ec7 rename arch to cpu_arch and rewrite it (#1752) 2022-10-09 11:54:02 +02:00
Roman Perepelitsa
02290d1eb9 Merge branch 'master' of github.com:brent-moffit/powerlevel10k into brent-moffit-master 2022-10-08 16:13:40 +02:00
Roman Perepelitsa
843dcf0167 survive broken FPATH (#10 2022-10-02 18:34:25 +02:00
Roman Perepelitsa
cf67cad465 fix the UNICODE code point for powerline "branch" icon in comments (#1911) 2022-06-22 12:06:42 +02:00
Curtis Vogt
0b02654269 Show kubecontext when using kubeseal or skaffold 2022-04-07 12:32:24 -07:00
Roman Perepelitsa
f07d7baea3 minor cleanup around perlbrew 2022-02-28 10:30:39 +01:00
Lucas Burns
b898d1de15
feature: added perlbrew 2022-02-26 20:27:19 -06:00
brent-moffit
c5203a3da2 Add arch prompt for displaying CPU architecture
Adds the `arch` prompt to `p10k.zsh`, `ARCH_ICON` to `icons.zsh`, and commented entries in the default configs
2022-02-02 17:47:46 -08:00
MenkeTechnologies
683a485232 remove duplicate the 2022-01-08 20:03:30 +01:00
Andrea Cervesato (TheKoma)
fba50d9671 Added gsutil as is the main "other command" in GCP 2022-01-05 16:04:29 +01:00
Zura Kurtanidze
6520323fdb Delete duplicate word "using using"
Hi, I removed duplicate word in the default configuration file
2021-11-03 23:16:12 -07:00
Roman Perepelitsa
4f3d2ffe72 new prompt segment: toolbox (https://github.com/containers/toolbox) #1560 2021-09-10 13:21:31 +02:00
Roman Perepelitsa
5669c12c66 Revert "add availability to display or not Terraform version"
This reverts commit 20b87731de.
2021-08-17 19:41:29 +02:00
Patrick Tavares
20b87731de add availability to display or not Terraform version
Show Terraform version segment only when *.tf files are present in current directory
2021-08-16 18:46:46 +02:00
Roman Perepelitsa
2c135dd631 make terraform_version consistent with other *_version segments (#1487) 2021-07-17 10:36:26 +02:00
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.
2021-07-15 00:44:37 +01:00
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
Chris Williams
1e7be00e04
show kubecontext show for 'flux' (#1480)
Support for flux v2 CLI

Co-authored-by: Chris Williams <chris.williams@amwell.com>
2021-07-09 08:46:18 -07:00
Roman Perepelitsa
4ba3c010f6 display "wip" in git status if the latest commit's summary contains "wip" or "WIP" (#1425) 2021-06-08 11:47:19 +02:00
Roman Perepelitsa
c7ad00b5a5 add P9K_AWS_PROFILE and P9K_AWS_REGION and use it in default configs 2021-05-28 14:55:27 +02:00
Alex Jurkiewicz
aa4d366341 Add region support for aws element 2021-05-28 14:25:39 +10:00
Roman Perepelitsa
69d3650958 hide python version in pyenv in lean/classic/rainbow if the rest of the content starts with it (#1376) 2021-05-22 12:09:13 +02:00
Maxim Baz
9c034101fe
Add xplr segment (#1396) 2021-05-15 04:37:58 -07:00
Roman Perepelitsa
f924646194 add P9K_IP_{RX,TX}_BYTES_DELTA to the list of parameters available within POWERLEVEL9K_IP_CONTENT_EXPANSION (#1392) 2021-05-14 11:41:56 +02:00
Roman Perepelitsa
d28e84ca70 don't display git tag when on a branch (#1294) 2021-03-09 12:20:28 +01:00
bcochofel
3920940ea8
add fluxctl and stern to show kubecontext (#1268) 2021-02-21 21:03:14 +01:00
Dhananjay Tanpure
d26bdcd601
Added wlan(w) to regular expression of network interfaces. (#1224)
Name of network interface is generally wlan0 or wlp3s0.
2021-01-15 18:20:46 +01:00
Julio Carlos Barrera Juez
33f20f5eae
Add tailscale in VPN network interface regex. (#1208) 2021-01-09 23:49:12 +01:00
Samuel Gräfenstein
38a5492b5f
Remove trailing whitespace (#1173) 2020-12-20 16:28:52 +01:00
Roman Perepelitsa
a5d0525c6a refactor my_git_formatter to make it easier to change it so that tag is always displayed 2020-12-20 07:54:27 +01:00
Roman Perepelitsa
439ce3ed4e dir: add _NON_EXISTENT similarly to _NON_WRITABLE (requires POWERLEVEL9K_DIR_SHOW_WRITABLE=v3)
See #1160.
2020-12-14 08:01:05 +01:00
Felix Yan
31ede3c1d3
Correct some typos in zsh conf (#1119) 2020-11-22 19:02:27 +01:00
Roman Perepelitsa
54d40b924c support POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=if-different; see #730 2020-09-09 12:10:26 +02:00
Lucas Larson
12cef82077
repair spelling of "occurrences" (#998) 2020-09-07 22:30:55 +02:00
Roman Perepelitsa
622130980c add scalaenv prompt segment; see #991 2020-09-03 10:53:19 +02:00
Roman Perepelitsa
6c8c6eea1b typo in comments 2020-09-02 09:24:58 +02:00
Roman Perepelitsa
cababbeee2 wifi on linux: fix bugs and speed things up 2020-09-01 11:03:55 +02:00
Roman Perepelitsa
2a4c962c21 add "gpd" to the list of default VPN network interfaces; see #979 2020-08-27 08:15:13 +02:00
Roman Perepelitsa
6279aa57d7 add k9s, helmfile and terragrunt to some SHOW_ON_COMMAND params; #904 2020-08-24 09:02:52 +02:00
Roman Perepelitsa
dca8774f1b add an empty line after the branch/tag truncation logic 2020-08-22 09:35:48 +02:00
Roman Perepelitsa
6dfd92f8c1 allow optional offset in POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER; see #896 2020-07-18 10:43:49 +02:00
Henry Bley-Vroman
34952e4a85
Fix POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD comments (#880) 2020-07-11 22:53:38 +02:00
Roman Perepelitsa
0c341b6702 Merge branch 'ancarpan-terraform-show-default' 2020-07-04 08:08:49 +02:00