Commit Graph

347 Commits

Author SHA1 Message Date
Mohammad Al Zouabi
da9b03777c
remove duplicate POWERLEVEL9K_DIR_SHOW_WRITABLE from p10k-lean-8colors.zsh (#2610) 2024-03-19 01:13:16 -07:00
Roman Perepelitsa
8e2a22d80b cleanup and bump version (#2572) 2024-02-12 10:45:18 +01:00
weirdgiraffe
665257d059
add themes support 2024-02-12 10:31:47 +01:00
Roman Perepelitsa
cc6ed4be41 add cdk to POWERLEVEL9K_AWS_SHOW_ON_COMMAND (#1104) 2023-12-16 08:36:29 +01:00
Nanda Lopes
011b8469ab
typo: s/.tool-version/.tool-versions/ in all configs 2023-08-27 06:42:57 -07:00
Roman Perepelitsa
7e9a79f3f1 new segment: per_directory_history (#2384) 2023-07-25 13:25:19 +02:00
Roman Perepelitsa
932954a8b1 do not display an indicator when a git branch is up to date with a remote
https://github.com/romkatv/powerlevel10k/issues/2361 requested an indicator for
up to date branches, which was added in
20323d6f8c.

Since then, 3 users complained about the new indicator:

- https://github.com/romkatv/powerlevel10k/issues/2377
- https://github.com/romkatv/powerlevel10k/issues/2380
- https://github.com/romkatv/powerlevel10k/issues/2361#issuecomment-1630731045

On one hand we have one request to add a feature. On the other hand we have
three complaints about the feature's existence. The feature is going away.
2023-07-12 15:01:32 +02:00
Roman Perepelitsa
93d97b7eba better comments 2023-07-11 11:11:21 +02:00
Roman Perepelitsa
078497570f clean up the handling of POWERLEVEL9K_AZURE_CLASSES and put it in all configs (#2379)
This reverts commit 343d4f44e5, reversing
changes made to 4dca4bdfbb.
2023-07-11 11:08:18 +02:00
BEN MANSOUR Mohamed Rafik
0c28fec137 fix pattern coloration for azure defined classes 2023-07-10 22:07:28 +02:00
Roman Perepelitsa
20323d6f8c display = in git status if up to date with the remote (#2361) 2023-06-26 10:33:21 +02:00
Koen van Zuijlen
ab8bac01e2
Add sparkctl to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND (#2346) 2023-06-17 01:46:55 -07:00
Roman Perepelitsa
cc4878aef2 fix chezmoi segment and rename it to chezmoi_shell (#2311)
- Link to the project's homepage rather than its source code.
- Move `chezmoi_shell` next to all the other *shell indicator* segments.
- Use a shade of blue that resembes the color on chezmoi.io.
- Don't go beyond 8 colors in 8-color configs.
- Remove the segment from the *pure* config.
- Fix whitespace padding on `CHEZMOI_ICON`.
- Use the appropriate icon with all fonts (the same as `HOME`).
- Add missing `CHEZMOI_ICON` definitions for "powerline" and "ascii" font modes.
- Remove the redundant literal "chezmoi" content from the segment.
- Fix instant prompt so that the segment is shown only when `$CHEZMOI` is non-empty.
2023-06-11 09:07:41 +02:00
Roman Perepelitsa
416bdf1ca3 Merge branch 'feat/add-chezmoi-prompt' of https://github.com/Alkindi42/powerlevel10k into Alkindi42-feat/add-chezmoi-prompt 2023-06-11 08:14:06 +02:00
Alkindi42
7b19746580 feat: add color and custom icon 2023-06-10 14:09:50 +02:00
kvanzuijlen
e4b8925478 Added cert manager cmctl to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND 2023-06-08 09:27:26 +02:00
Roman Perepelitsa
79753faacb add a comment within .p10k.zsh explaining the use of "_joined" (#2332) 2023-06-04 20:11:07 +02:00
Alkindi42
29c0b25850 feat: enable chezmoi prompt in configurations 2023-05-21 21:42:09 +02:00
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
Roman Perepelitsa
33916e91a7 add a missing lf header to p10k-lean.zsh (#2126) 2022-12-16 15:52:19 +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
be3724bc80 typo in comments 2022-07-11 10:08:06 +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
Anupam Srivastava
89ecd6539a Fixed minor spelling mistakes 2022-06-03 15:26:12 +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