Commit Graph

180 Commits (7e835be2d80f6d8143f9355fc9f057db6e03ff88)

Author SHA1 Message Date
Alex Jurkiewicz a79a934f27 Remove POWERLEVEL9K_VIRTUALENV_ENABLE_POETRY
Added for debugging purposes.
1 year ago
Alex Jurkiewicz e3e5605a61 Add Poetry support to virtualenv
Heavily based on #1994.

Integrate Poetry virtualenv detection into the existing virtualenv
segment. For poetry virtualenvs, use the package name as reported by
`poetry version`.
1 year ago
Nanda Lopes 011b8469ab
typo: s/.tool-version/.tool-versions/ in all configs 1 year ago
Roman Perepelitsa 7e9a79f3f1 new segment: per_directory_history (#2384) 1 year ago
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.
1 year ago
Roman Perepelitsa 93d97b7eba better comments 1 year ago
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.
1 year ago
Roman Perepelitsa 20323d6f8c display `=` in git status if up to date with the remote (#2361) 2 years ago
Koen van Zuijlen ab8bac01e2
Add sparkctl to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND (#2346) 2 years ago
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.
2 years ago
Roman Perepelitsa 416bdf1ca3 Merge branch 'feat/add-chezmoi-prompt' of https://github.com/Alkindi42/powerlevel10k into Alkindi42-feat/add-chezmoi-prompt 2 years ago
Alkindi42 7b19746580 feat: add color and custom icon 2 years ago
kvanzuijlen e4b8925478 Added cert manager cmctl to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND 2 years ago
Roman Perepelitsa 79753faacb add a comment within .p10k.zsh explaining the use of "_joined" (#2332) 2 years ago
Alkindi42 29c0b25850 feat: enable chezmoi prompt in configurations 2 years ago
Zaidhaan Hussain 4ed8aae324 nvm: implement POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW and default to false 2 years ago
Zaidhaan Hussain 5d16c106ed nvm: implement POWERLEVEL9K_NVM_SHOW_SYSTEM and default to true 2 years ago
Roman Perepelitsa bab655fb1f do not infer nix_shell from PATH unless POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246) 2 years ago
NatureLR 373337123c Added kubecolor to KUBECONTEXT_SHOW_ON_COMMAND 2 years ago
Roman Perepelitsa e7b2bb2372 set POWERLEVEL9K_VPN_IP_INTERFACE to the same value as the default: this adds ZeroTier support 2 years ago
kvanzuijlen 35165798a8 Added kubent to KUBECONTEXT_SHOW_ON_COMMAND 2 years ago
Utkarsh Verma 07b5a607d4
Add lf segment 2 years ago
Roman Perepelitsa bd0c9f4ec7 rename arch to cpu_arch and rewrite it (#1752) 2 years ago
Roman Perepelitsa 02290d1eb9 Merge branch 'master' of github.com:brent-moffit/powerlevel10k into brent-moffit-master 2 years ago
Roman Perepelitsa 843dcf0167 survive broken FPATH (#10 2 years ago
Roman Perepelitsa be3724bc80 typo in comments 3 years ago
Roman Perepelitsa cf67cad465 fix the UNICODE code point for powerline "branch" icon in comments (#1911) 3 years ago
Anupam Srivastava 89ecd6539a Fixed minor spelling mistakes 3 years ago
Curtis Vogt 0b02654269 Show kubecontext when using kubeseal or skaffold 3 years ago
Roman Perepelitsa f07d7baea3 minor cleanup around perlbrew 3 years ago
Lucas Burns b898d1de15
feature: added perlbrew 3 years ago
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
3 years ago
MenkeTechnologies 683a485232 remove duplicate the 3 years ago
Andrea Cervesato (TheKoma) fba50d9671 Added gsutil as is the main "other command" in GCP 3 years ago
Roman Perepelitsa 4f3d2ffe72 new prompt segment: toolbox (https://github.com/containers/toolbox) #1560 3 years ago
Roman Perepelitsa 5669c12c66 Revert "add availability to display or not Terraform version"
This reverts commit 20b87731de.
3 years ago
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) 4 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.
4 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.
4 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>
4 years ago
Roman Perepelitsa 4ba3c010f6 display "wip" in git status if the latest commit's summary contains "wip" or "WIP" (#1425) 4 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