Commit Graph

346 Commits (1b1cbd4eed43ecdee6ade7a34ecf813e2d16a320)

Author SHA1 Message Date
Max Rydahl Andersen 774701432e Add `oc` to `POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND` ()
romkatv 8fe1521d21 add swap segment to config templates
romkatv 1fb30a62e7 add disk_usage to config templates
romkatv ed2b83275b Merge branch 'master' into worker
romkatv 7144ebb465 add snazzy color scheme option to pure style
romkatv 80e8e46fe5 Merge branch 'master' into worker
romkatv 9586e24dfb add color selection dialog for lean-8colors; remove space before prompt char in lean-* when it's the first segment on the line
romkatv 8513fa63d9 add disk_usage to config templates
romkatv 831b8da62e add a comment explaining how to display VPN ip
romkatv 8a9e879164 cleanup
romkatv 3391739b55 make the default glcoud format less verbose
romkatv 525e3257d8 port latest changes from p10k-lean.zsh to other styles
romkatv 74116e206b cleanup
romkatv 5544777c01 enable midnight_commander and aws_eb_env by default
romkatv ece366ba68 update SHOW_ON_COMMAND parameters based on suggestions from ; enable google_app_cred, gcloud and azure by default
romkatv e2813c5db5 Merge branch 'master' into reactive
romkatv bd9e4ee35b add 8-color version of lean style
romkatv bbc6f8638e add a bunch of SHOW_ON_COMMAND paramters to p10k-lean.zsh; still in flux
romkatv 5ecde25fea delete trash
romkatv 7b77d63e7e add "todo" prompt segment to default configs
romkatv acb6b68a37 add nnn prompt segment; see
romkatv a9620d7dca add plenv prompt segment; see
romkatv d8b847c67f add jenv prompt segment; see
romkatv 20a17daf15 add luaenv prompt segment; see
romkatv e45af961da BREAKING CHANGE: add classes to google_app_cred and change its default content
romkatv 8ef2b737d1 rename gcloud_app to google_app_cred and change its api
Rostyslav Sotnychenko 0d0425c1ba
Fix typos
Rostyslav Sotnychenko caea2c5b2a
Add prompt for Google Cloud application credentials
romkatv 5591ad2290 add POWERLEVEL9K_RBENV_SOURCES; fixes
Adam Stroud 82aba01ea8 Fix typo
romkatv 14fc4d838c unbreak Git commit formatting
Alex Jurkiewicz 3c54e091f0 Add example for showing the current Git commit
romkatv 339703e2b1 better commends for POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION
romkatv c971c2a619 use simpler patterns in POWERLEVEL9K_DIR_CLASSES examples that don't require extended_glob
romkatv a8f9527079 add gcloud prompt segment; fixes
romkatv 22f0d6a82a add fvm
romkatv 196dce2d72 ensure vim_shell and midnight_commander icons are always shown; apply narrow_icons to them
romkatv fb527ad091 remove unnecessary my_git_formatter argument
romkatv 113f290826 add vim_shell prompt segment; see
romkatv ac2f387dfd new prompt segment: goenv (see )
romkatv 3340dc7269 new prompt segment: midnignt_commander (see )
romkatv 6a928c6500 comments
romkatv 37fa37c039 make it easier to edit context segment settings in generated configs
romkatv d55923be87 survive ancient zsh
romkatv fdb90994c9 add `p10k reload` and call it from all standard configs
romkatv 4b451fbc8a replace ↵ with ✘ in config templates
Some terminals are unable to display ↵ even when using fonts that
have this ghyph. See .
romkatv 1be144aed3 add POWERLEVEL9K_RBENV_SOURCES; see
romkatv a6531a6586 black os_ison on white background in rainbow style. otherwise it sucks on both MS terminals as they cannot differentiate between black and no background
Rostyslav Sotnychenko 1e009cf43a Add support for classes for AWS profile prompt
romkatv 1387763f27 comments
romkatv d93f3960ba add VIOWN color params
romkatv dfa7b1578f wizard: frame for lean prompt
romkatv 6767e271cd wizard: add transient prompt (optional); disable hot reload
romkatv 7b3532de44 enable vi_mode in configs that don't have prompt_char
romkatv f722f3d1ce add direnv segment; fixes 291
romkatv d40f54f30d define instant_prompt_example to demonstrate how to add segments to instant prompt
romkatv 627d471fca improve instant prompt usability, update docs and add an option to the wizard to enable it
romkatv 4f02ad912f enable instant prompt when configuration wizard runs
Benedikt Stemmildt af2b394eb3 Fix EXC_BAD_ACCESS on MacOS Catalina
Fix 
romkatv 0302e68913 change dir foreground from black to white in rainbow style; looks a bit less ugly
romkatv 09130614ec add rainbow style; delete p9k style
romkatv 1ac9c771f7 cleanup
romkatv 0c59d87f08 add the default powerlevel9k style to the wizard
romkatv 40c062c3b9 tone down the downsides of pure
romkatv f1d295ca65 docs
romkatv d827b5f0a3 define POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0 in p10k-pure
romkatv 6b80091039 make p10k-pure work without gitstatus
romkatv b56ab6400c revamp aws_eb_env. it returns the starred entry from the output of "eb list"
romkatv bbaf6107c3 avoid calling 'functions +M' as it sometimes crashes zsh
romkatv 4ef1a9bbdd add azure prompt segment
romkatv b7bd643ae6 clarify comments for POWERLEVEL9K_DIR_MAX_LENGTH
Make it explicit that POWERLEVEL9K_DIR_MAX_LENGTH isn't
the only constraint that may cause directory truncation.

See the original description of  before this issue
was repurposed for something unrelated.
romkatv 2fd59f5acd replace expansion-based Git status formatter with a function
romkatv aa606e6cb0 don't print options when no_aliases, no_sh_glob and brace_expand are all set
romkatv 5f8ca72598 enable `aws` prompt segment by default
romkatv f6d361d70a remove old screenshots
romkatv 742ed29d93 bold user@hostname when root; add a comment explaining how to always show user@hostname
romkatv 4a4f7e1eef new prompt segment: dotnet_version
To enable this segment:

  1. Run `p10k configure`.
  2. Open `~/.p10k.zsh` and search for `dotnet_version`.
  3. Uncomment the first occurrence.

Fixes .
romkatv 5f08c5493f merge improvements from lean to pure
romkatv e645b79db3 survive aliased `local`
romkatv 0067e0d4a1 survive emulate sh; fixes
romkatv 11783c73a3 add vpn_ip (disable by default)
romkatv 6b234b789d add OVERWRITE vi mode
When using vi_mode segment, the new mode can be enabled by
defining POWERLEVEL9K_VI_OVERWRITE_MODE_STRING.

    POWERLEVEL9K_VI_OVERWRITE_MODE_STRING=OVERWRITE

When using prompt_char, the new mode can be enabled by defining
POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true. The prompt symbol
in OVERWRITE state defaults to '▶'. It can be customized by
defining POWERLEVEL9K_PROMPT_CHAR_{OK,ERROR}_VIOWR_CONTENT_EXPANSION.

    POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=true
    POWERLEVEL9K_PROMPT_CHAR_OK_VIOWR_CONTENT_EXPANSION=R
    POWERLEVEL9K_PROMPT_CHAR_ERROR_VIOWR_CONTENT_EXPANSION=R

Fixes .
romkatv 263f915a49 cleanup
romkatv f3e96b17c8 comments
romkatv e32ea9cdbd comments
Roman Perepelitsa 4de7eaa95e
comments
romkatv ca49498cb6 don't display kubecontext namespace if it's literally 'default'
romkatv e909f09ca0 Merge branch 'config-kubernetes' of https://github.com/iAnomaly/powerlevel10k into iAnomaly-config-kubernetes
romkatv 1ad0e713a4 use fancier battery icons with nerd fonts
romkatv daedc56b3d typo in comments
romkatv 9ce277d179 strip hexadecimal colors from vcs when loading; see
romkatv eabdc9dc2e fix battery color
romkatv 2dbd375981 comments
romkatv 91b715f18f disable or substitute "compatible" icons that cannot be displayed by the stock Menlo on macOS
Cameron Boulton 4405297b13
Default Kubernetes content expansion to include namespace.
romkatv e8a38dc404 font comments
romkatv 9a5abe8185 add comments around git branch shortening
romkatv 71c6843cb4 add ram and load
romkatv cb2ca16f51 add POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT
romkatv 3a1ebea014 add more patterns to POWERLEVEL9K_SHORTEN_FOLDER_MARKER
romkatv 0c627eb31d add `proxy` prompt segment
romkatv 3f2f38a71e move time to the first prompt line
romkatv e537a0ee62 better utf-8 handling
romkatv 4c12eb7224 add terraform prompt segment
romkatv 37c6ea091e make all colors visible on white and solarized-light background; see
romkatv 49063ee757 add ranger prompt; see
romkatv 33e1dd7790 Try harder when running on a system with incorrectly configured locale.
ZSH will still be broken when locale is misconfigured but at least p10k
will work so users will look for help elsewhere.

Fixes .
romkatv e6d0da1c2e remove POWERLEVEL9K_ALWAYS_SHOW_CONTEXT from configs as it confuses users
romkatv 5f63a96581 spello
romkatv 4ba78dc2be shorten git branch name if over 32 chars long; tune colors
romkatv bafade8963 add POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY and POWERLEVEL9K_GO_VERSION_PROJECT_ONLY
romkatv 40f40c2994 add rust_version to lean and classic configs
romkatv 79cfbd12e7 enable rbenv by default in lean and classic configs
romkatv 987123f378 add rvm to lean and classic configs
romkatv b2ddbdb90d remove one space after VCS_BRANCH_ICON when using wide icons
romkatv 93230ae6ec change os_icon style
romkatv 24a5261a39 wizard: enable os_icon for users who like many icons
romkatv 9d6dfeae73 add POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM
romkatv 59e96984a1 be more tolerant towards misconfigured locales; users with non-utf-8 locales will still have broken shells but at least p10k will work
romkatv d8c509f5c9 require zsh 5.3 for nordvpn segment; fixes
romkatv 7565d00218 disable nordvpn temporarily until is resolved
romkatv 635b0d7c99 make it easier to change the untracked files icon; fixes
romkatv 99f631abb8 add rbenv to lean and classic configs (disabled until is resolved)
romkatv 8d2ffb43db add "help" and "segment" commands to p10k
romkatv a6b572da45 add p10k configure
romkatv 4cdee85abd enable nordvpn by default
romkatv 59c3293371 restore F
Sad-Soul-Eater 39538b3b5c
fix parameter name & change color
Sad-Soul-Eater d6397e71ad
add go_version segment
romkatv 784bd8166e add start-of-left and end-of-right symbols
romkatv 29b9397fa9 comments
romkatv dd5fb35c29 revamp kubecontext config
romkatv 00ec3d16c2 enable all available shortening for kubecontext and enable the segment by default
romkatv 3e0c898e59 make fluent prompt less ugly in classic style
romkatv deb0093a02 add a screen for selecting background color
romkatv 3ae642c788 enable by default: virtualenv, anaconda, pyenv, nodenv, nvm, nodeenv
romkatv 71835e3139 define prompt prefixes
romkatv c93ad39604 specify different context template for root
romkatv 86c52722d9 specify different context template for root
romkatv bf5ad6d97a make it easier to enable/disable useless vcs icons from the wizard
romkatv 8038ce4fae remove indentation to make it easier to patch config
romkatv 478ad28810 comments
romkatv c85d1769ef add prompt_char
romkatv f1f485b1c0 revert accidental context change
romkatv f565be5a59 make prompt look nicer in Solarized Dark
romkatv 7b081b13b4 make prompt look nicer in Solarized Dark
romkatv 962e9a464b revert background jobs icon
romkatv 84694f3ef2 use default background jobs icon
romkatv 6da969edc1 set separators explicitly
romkatv ae6643726b better status
romkatv c2878307d2 tune colors
romkatv ef57656e88 unset all POWERLEVEL9K options
romkatv 6a1ea41b2a comments
romkatv f87f3129d7 type
romkatv 9dceab7ab7 fix battery icon in lean config; update classic config
romkatv 57044e5a5c typo: -O => -o
romkatv 69fbd901d6 comments
romkatv 5e6acdc8fb comments
romkatv ec1632796f remove unused parameter
romkatv 01e66aab67 add a few extra states and parameters to make it possible to configure decent `status`
romkatv cef049e0de nordvpn: add CONNECTING and DISCONECTING states, remove OTHER
See https://github.com/romkatv/powerlevel10k/issues/133.
romkatv 2c6f3f32aa comments
romkatv 7a44583f3a add nordvpn to lean config
romkatv db70d1a59f show POWERLEVEL9K_VCS_BRANCH_ICON if it is explicitly set
romkatv 17240f3c55 make lean config more usable with default icons
romkatv 2752074b03 add POWERLEVEL9K_MODE=nerdfont-complete
romkatv 5dd3ecab5f make gap between left and right prompt customizable
romkatv f16b29502c add os_icon
romkatv c3af630911 add p10k-lean.png
romkatv 266fa777a1 docs
romkatv a0b4e481d8 add battery
romkatv 38c4df2d51 comments
romkatv 57158a4365 docs
romkatv 610012d50d add p10k-pure.zsh
romkatv c4d3ec2cc5 add POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT
romkatv 2683653ed2 tune command_execution_time
romkatv 78eee98250 formatting
romkatv b7a8139e97 fix POWERLEVEL9K_DIR_MAX_LENGTH
romkatv 594923dc9b tune dir shortening
romkatv 233b5c7c88 add POWERLEVEL9K_DIR_MAX_LENGTH
romkatv cdddc0a240 tune dir colors
romkatv 7da4b59125 enable dir shortening
romkatv 389b2ce5c2 prototype for auto-shrinking dir
romkatv 2ca0ef4493 comments
romkatv dadab0ef5f rename config files
romkatv afe499c967 comments
romkatv 028a02df06 add classic config
romkatv d8a0dcd95e comments
romkatv c5e24d843b spello
romkatv dd09ce6efc add POWERLEVEL9K_TIME_UPDATE_ON_COMMAND
This is one of the features discussed in .
romkatv ef041b4364 make right prompt multiline; add public_ip
romkatv 30c160926d add node.js prompt segments
romkatv 0eff9fe1b9 less verbose command_execution_time
Roman Perepelitsa 7acc5a236d
comments
romkatv 7fe72dfce0 polish lean.zsh a bit
romkatv b51e263637 draft of lean config