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

158 commits

Author SHA1 Message Date
romkatv
1be144aed3 add POWERLEVEL9K_RBENV_SOURCES; see #333 2019-11-18 11:32:53 +01:00
Rostyslav Sotnychenko
1e009cf43a Add support for classes for AWS profile prompt 2019-11-14 12:59:03 +01:00
romkatv
d93f3960ba add VIOWN color params 2019-11-12 08:05:33 +01:00
romkatv
dfa7b1578f wizard: frame for lean prompt 2019-11-07 14:17:33 +01:00
romkatv
6767e271cd wizard: add transient prompt (optional); disable hot reload 2019-11-06 11:54:14 +01:00
romkatv
f722f3d1ce add direnv segment; fixes 291 2019-10-27 11:27:03 +01:00
romkatv
d40f54f30d define instant_prompt_example to demonstrate how to add segments to instant prompt 2019-10-27 10:30:39 +01:00
romkatv
627d471fca improve instant prompt usability, update docs and add an option to the wizard to enable it 2019-10-26 20:43:38 +02:00
romkatv
4f02ad912f enable instant prompt when configuration wizard runs 2019-10-20 16:40:51 +02:00
romkatv
1ac9c771f7 cleanup 2019-10-11 16:53:28 +02:00
romkatv
b56ab6400c revamp aws_eb_env. it returns the starred entry from the output of "eb list" 2019-10-08 16:03:39 +02:00
romkatv
bbaf6107c3 avoid calling 'functions +M' as it sometimes crashes zsh 2019-10-08 13:47:55 +02:00
romkatv
4ef1a9bbdd add azure prompt segment 2019-10-08 13:46:39 +02:00
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 #250 before this issue
was repurposed for something unrelated.
2019-10-08 09:20:15 +02:00
romkatv
2fd59f5acd replace expansion-based Git status formatter with a function 2019-10-07 12:03:54 +02:00
romkatv
aa606e6cb0 don't print options when no_aliases, no_sh_glob and brace_expand are all set 2019-10-03 14:50:08 +02:00
romkatv
5f8ca72598 enable aws prompt segment by default 2019-09-24 14:30:06 +02:00
romkatv
742ed29d93 bold user@hostname when root; add a comment explaining how to always show user@hostname 2019-09-24 10:40:50 +02:00
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 #233.
2019-09-24 10:19:11 +02:00
romkatv
e645b79db3 survive aliased local 2019-09-20 14:20:01 +02:00
romkatv
0067e0d4a1 survive emulate sh; fixes #226 2019-09-20 11:22:14 +02:00
romkatv
11783c73a3 add vpn_ip (disable by default) 2019-09-19 14:34:29 +02:00
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 #219.
2019-09-18 13:38:31 +02:00
romkatv
263f915a49 cleanup 2019-09-18 10:45:18 +02:00
romkatv
f3e96b17c8 comments 2019-09-18 10:27:31 +02:00
romkatv
e32ea9cdbd comments 2019-09-10 12:32:27 +02:00
romkatv
ca49498cb6 don't display kubecontext namespace if it's literally 'default' 2019-09-09 15:29:31 +02:00
romkatv
e909f09ca0 Merge branch 'config-kubernetes' of https://github.com/iAnomaly/powerlevel10k into iAnomaly-config-kubernetes 2019-09-09 15:24:18 +02:00
romkatv
1ad0e713a4 use fancier battery icons with nerd fonts 2019-09-09 15:15:31 +02:00
romkatv
daedc56b3d typo in comments 2019-09-09 14:19:51 +02:00
romkatv
9ce277d179 strip hexadecimal colors from vcs when loading; see #207 2019-09-08 20:00:18 +02:00
romkatv
2dbd375981 comments 2019-09-07 10:30:37 +02:00
romkatv
91b715f18f disable or substitute "compatible" icons that cannot be displayed by the stock Menlo on macOS 2019-09-07 09:28:45 +02:00
Cameron Boulton
4405297b13
Default Kubernetes content expansion to include namespace. 2019-09-06 14:55:49 -07:00
romkatv
e8a38dc404 font comments 2019-09-06 12:24:36 +02:00
romkatv
9a5abe8185 add comments around git branch shortening 2019-08-30 08:38:56 +02:00
romkatv
71c6843cb4 add ram and load 2019-08-29 18:36:36 +02:00
romkatv
cb2ca16f51 add POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT 2019-08-29 12:25:55 +02:00
romkatv
3a1ebea014 add more patterns to POWERLEVEL9K_SHORTEN_FOLDER_MARKER 2019-08-28 15:41:59 +02:00
romkatv
0c627eb31d add proxy prompt segment 2019-08-27 10:57:54 +02:00
romkatv
3f2f38a71e move time to the first prompt line 2019-08-27 10:49:02 +02:00
romkatv
e537a0ee62 better utf-8 handling 2019-08-20 14:56:43 +02:00
romkatv
4c12eb7224 add terraform prompt segment 2019-08-19 16:07:59 +02:00
romkatv
37c6ea091e make all colors visible on white and solarized-light background; see #177 2019-08-19 13:54:42 +02:00
romkatv
49063ee757 add ranger prompt; see #171 2019-08-17 10:01:06 +02:00
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 #173.
2019-08-17 09:22:31 +02:00
romkatv
e6d0da1c2e remove POWERLEVEL9K_ALWAYS_SHOW_CONTEXT from configs as it confuses users 2019-08-16 09:54:32 +02:00
romkatv
5f63a96581 spello 2019-08-16 09:52:11 +02:00
romkatv
4ba78dc2be shorten git branch name if over 32 chars long; tune colors 2019-08-14 07:28:50 +02:00
romkatv
bafade8963 add POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY and POWERLEVEL9K_GO_VERSION_PROJECT_ONLY 2019-08-12 08:56:47 +02:00
romkatv
40f40c2994 add rust_version to lean and classic configs 2019-08-12 08:40:55 +02:00
romkatv
79cfbd12e7 enable rbenv by default in lean and classic configs 2019-08-10 10:49:36 +02:00
romkatv
987123f378 add rvm to lean and classic configs 2019-08-10 10:49:04 +02:00
romkatv
b2ddbdb90d remove one space after VCS_BRANCH_ICON when using wide icons 2019-08-08 11:42:31 +02:00
romkatv
93230ae6ec change os_icon style 2019-08-07 12:44:51 +02:00
romkatv
24a5261a39 wizard: enable os_icon for users who like many icons 2019-08-07 11:04:35 +02:00
romkatv
9d6dfeae73 add POWERLEVEL9K_VCS_CONFLICTED_MAX_NUM 2019-08-05 22:26:23 +02:00
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 2019-08-05 20:23:30 +02:00
romkatv
d8c509f5c9 require zsh 5.3 for nordvpn segment; fixes #148 2019-08-05 11:17:34 +02:00
romkatv
7565d00218 disable nordvpn temporarily until #148 is resolved 2019-08-03 11:54:19 +02:00
romkatv
635b0d7c99 make it easier to change the untracked files icon; fixes #147 2019-08-02 09:39:40 +02:00
romkatv
99f631abb8 add rbenv to lean and classic configs (disabled until #146 is resolved) 2019-08-01 23:19:16 +02:00
romkatv
8d2ffb43db add "help" and "segment" commands to p10k 2019-07-31 19:41:14 +02:00
romkatv
4cdee85abd enable nordvpn by default 2019-07-31 14:57:19 +02:00
romkatv
59c3293371 restore F 2019-07-30 19:50:56 +02:00
Sad-Soul-Eater
39538b3b5c
fix parameter name & change color 2019-07-30 16:46:11 +03:00
Sad-Soul-Eater
d6397e71ad
add go_version segment 2019-07-30 16:20:00 +03:00
romkatv
dd5fb35c29 revamp kubecontext config 2019-07-30 09:38:42 +02:00
romkatv
00ec3d16c2 enable all available shortening for kubecontext and enable the segment by default 2019-07-29 22:02:01 +02:00
romkatv
3ae642c788 enable by default: virtualenv, anaconda, pyenv, nodenv, nvm, nodeenv 2019-07-29 16:13:37 +02:00
romkatv
71835e3139 define prompt prefixes 2019-07-29 15:37:58 +02:00
romkatv
86c52722d9 specify different context template for root 2019-07-29 14:45:22 +02:00
romkatv
bf5ad6d97a make it easier to enable/disable useless vcs icons from the wizard 2019-07-29 12:48:18 +02:00
romkatv
f1f485b1c0 revert accidental context change 2019-07-29 10:21:43 +02:00
romkatv
7b081b13b4 make prompt look nicer in Solarized Dark 2019-07-29 10:13:51 +02:00
romkatv
962e9a464b revert background jobs icon 2019-07-28 18:59:32 +02:00
romkatv
84694f3ef2 use default background jobs icon 2019-07-28 18:52:45 +02:00
romkatv
c2878307d2 tune colors 2019-07-28 16:38:22 +02:00
romkatv
ef57656e88 unset all POWERLEVEL9K options 2019-07-28 09:48:38 +02:00
romkatv
6a1ea41b2a comments 2019-07-27 18:29:59 +02:00
romkatv
9dceab7ab7 fix battery icon in lean config; update classic config 2019-07-27 15:09:41 +02:00
romkatv
57044e5a5c typo: -O => -o 2019-07-27 00:42:35 +02:00
romkatv
69fbd901d6 comments 2019-07-26 16:22:21 +02:00
romkatv
5e6acdc8fb comments 2019-07-26 15:57:06 +02:00
romkatv
ec1632796f remove unused parameter 2019-07-26 15:37:21 +02:00
romkatv
01e66aab67 add a few extra states and parameters to make it possible to configure decent status 2019-07-26 15:35:46 +02:00
romkatv
cef049e0de nordvpn: add CONNECTING and DISCONECTING states, remove OTHER
See https://github.com/romkatv/powerlevel10k/issues/133.
2019-07-26 10:20:40 +02:00
romkatv
2c6f3f32aa comments 2019-07-25 19:02:50 +02:00
romkatv
7a44583f3a add nordvpn to lean config 2019-07-25 18:04:52 +02:00
romkatv
db70d1a59f show POWERLEVEL9K_VCS_BRANCH_ICON if it is explicitly set 2019-07-23 10:02:59 +02:00
romkatv
17240f3c55 make lean config more usable with default icons 2019-07-21 19:44:20 +02:00
romkatv
5dd3ecab5f make gap between left and right prompt customizable 2019-07-21 10:48:57 +02:00
romkatv
f16b29502c add os_icon 2019-07-20 17:35:30 +02:00
romkatv
266fa777a1 docs 2019-07-20 16:56:34 +02:00
romkatv
a0b4e481d8 add battery 2019-07-20 15:40:23 +02:00
romkatv
38c4df2d51 comments 2019-07-20 14:48:42 +02:00
romkatv
57158a4365 docs 2019-07-20 14:46:31 +02:00
romkatv
c4d3ec2cc5 add POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT 2019-07-20 12:41:52 +02:00
romkatv
2683653ed2 tune command_execution_time 2019-07-20 01:25:28 +02:00
romkatv
78eee98250 formatting 2019-07-19 23:08:45 +02:00