1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-01 07:30:07 +00:00
Commit graph

329 commits

Author SHA1 Message Date
romkatv
8cf22480c0 add taskwarrior prompt segment; see #511 2020-02-20 16:24:41 +01:00
romkatv
65c4ae4abf grey Git status in robbyrussell while loading 2020-02-16 17:38:55 +01:00
romkatv
53c63c9dfc add robbyrussell theme emulation config 2020-02-15 18:52:36 +01:00
romkatv
0e04538c38 add laravel_version to config templates 2020-02-15 14:49:18 +01:00
romkatv
b8a949498f add php configuration for asdf 2020-02-15 13:50:28 +01:00
romkatv
d34f3dd983 comments 2020-02-15 13:48:01 +01:00
romkatv
9a3263fbe5 add php_version to config templates; see #499 2020-02-15 13:47:11 +01:00
romkatv
245a420499 add phpenv prompt segment; see #499 2020-02-15 13:38:44 +01:00
romkatv
c5782e9dab add SHOW_ON_UPGLOB parameters for asdf to config templates; see #485 2020-02-12 16:26:35 +01:00
romkatv
eb3ddadc6c add POWERLEVEL9K_VCS_DISABLED_WORKDIR_PATTERN='~' to config templates 2020-02-11 13:14:04 +01:00
romkatv
7c8e7d960c add POWERLEVEL9K_VCS_MAX_INDEX_SIZE_DIRTY to config templates and display "─" if worktree scan was skipped 2020-02-10 18:08:09 +01:00
Gibson Fahnestock
d37cf22a9c show VCS_STATUS_PUSH_COMMITS_{AHEAD,BEHIND} in vcs by default
Fixes #395.
2020-02-09 15:45:33 +01:00
romkatv
a0f4447b60 add hide-related asdf parameters to config templates 2020-02-07 12:12:38 +01:00
romkatv
af42857637 add custom colors for several asdf tools: erlang, elixir, postgres 2020-02-07 09:16:55 +01:00
romkatv
50318c0250 add POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER to config templates 2020-02-06 17:18:40 +01:00
romkatv
f509a16bbb add asdf to config templates (enabled by default) 2020-02-06 16:49:30 +01:00
romkatv
73e24180a0 add ip to config templates 2020-02-05 17:26:28 +01:00
romkatv
637752ef7b comments 2020-02-03 12:04:04 +01:00
romkatv
71f4eade9f add wifi prompt segment 2020-02-03 11:47:55 +01:00
romkatv
4599ad9f2c add extra options to pure style
- non-permanent content location (left or right)
- show current time
- prompt height (one or two lines)
- prompt spacing (with empty line between prompts or without)
2020-02-02 06:49:17 +01:00
romkatv
b6cb9618a8 spelling and cleanup 2020-01-31 15:18:39 +01:00
romkatv
b0a08e0ae5 Merge branch 'master' into tour 2020-01-31 10:53:40 +01:00
romkatv
f91597fe7b speed up terraform, add classes to configs, bump version 2020-01-31 10:52:34 +01:00
romkatv
d800fd5f41 rewrite the color faq; move omz p9k migration instructions to faq 2020-01-30 12:57:28 +01:00
romkatv
3354789278 Merge branch 'master' into tour 2020-01-30 09:32:36 +01:00
romkatv
73878f398a add nix_shell prompt segment; see #448 2020-01-30 08:25:24 +01:00
romkatv
3b281aba49 pure config template cleanup 2020-01-29 08:41:19 +01:00
romkatv
589c679045 add POWERLEVEL9K_GOENV_SOURCES to config templates 2020-01-28 10:00:15 +01:00
romkatv
a5cafefa40 truncate timewarrior task names 2020-01-26 20:26:09 +01:00
romkatv
164100899e drop support for no-icons mode from all config templates 2020-01-26 19:44:59 +01:00
romkatv
bfa70fa86d add timewarrior prompt segment; see #295 2020-01-26 19:29:06 +01:00
romkatv
5e42c4c930 add P9K_KUBECONTEXT_USER 2020-01-26 11:45:56 +01:00
romkatv
9c21f4b273 Merge branch 'master' into worker 2020-01-25 18:22:52 +01:00
Max Rydahl Andersen
774701432e Add oc to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND (#436) 2020-01-25 18:18:30 +01:00
romkatv
8fe1521d21 add swap segment to config templates 2020-01-25 17:57:02 +01:00
romkatv
1fb30a62e7 add disk_usage to config templates 2020-01-24 18:42:57 +01:00
romkatv
ed2b83275b Merge branch 'master' into worker 2020-01-21 12:32:22 +01:00
romkatv
7144ebb465 add snazzy color scheme option to pure style 2020-01-21 11:38:34 +01:00
romkatv
80e8e46fe5 Merge branch 'master' into worker 2020-01-20 20:12:14 +01:00
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 2020-01-20 17:45:23 +01:00
romkatv
8513fa63d9 add disk_usage to config templates 2020-01-18 17:09:15 +01:00
romkatv
831b8da62e add a comment explaining how to display VPN ip 2020-01-18 16:46:52 +01:00
romkatv
8a9e879164 cleanup 2020-01-15 23:36:08 +01:00
romkatv
3391739b55 make the default glcoud format less verbose 2020-01-15 18:23:40 +01:00
romkatv
525e3257d8 port latest changes from p10k-lean.zsh to other styles 2020-01-15 18:03:31 +01:00
romkatv
74116e206b cleanup 2020-01-15 17:49:55 +01:00
romkatv
5544777c01 enable midnight_commander and aws_eb_env by default 2020-01-15 17:41:31 +01:00
romkatv
ece366ba68 update SHOW_ON_COMMAND parameters based on suggestions from #318; enable google_app_cred, gcloud and azure by default 2020-01-15 17:40:29 +01:00
romkatv
e2813c5db5 Merge branch 'master' into reactive 2020-01-15 17:12:34 +01:00
romkatv
bd9e4ee35b add 8-color version of lean style 2020-01-15 16:57:36 +01:00
romkatv
bbc6f8638e add a bunch of SHOW_ON_COMMAND paramters to p10k-lean.zsh; still in flux 2020-01-13 21:56:49 +01:00
romkatv
5ecde25fea delete trash 2020-01-12 20:33:56 +01:00
romkatv
7b77d63e7e add "todo" prompt segment to default configs 2020-01-03 09:56:58 +01:00
romkatv
acb6b68a37 add nnn prompt segment; see #342 2020-01-02 18:59:19 +01:00
romkatv
a9620d7dca add plenv prompt segment; see #342 2020-01-02 18:24:01 +01:00
romkatv
d8b847c67f add jenv prompt segment; see #342 2020-01-02 18:13:40 +01:00
romkatv
20a17daf15 add luaenv prompt segment; see #342 2020-01-02 17:57:14 +01:00
romkatv
e45af961da BREAKING CHANGE: add classes to google_app_cred and change its default content 2020-01-02 17:18:31 +01:00
romkatv
8ef2b737d1 rename gcloud_app to google_app_cred and change its api 2019-12-19 18:46:31 +01:00
Rostyslav Sotnychenko
0d0425c1ba
Fix typos 2019-12-16 19:29:45 +02:00
Rostyslav Sotnychenko
caea2c5b2a
Add prompt for Google Cloud application credentials 2019-12-16 19:21:23 +02:00
romkatv
5591ad2290 add POWERLEVEL9K_RBENV_SOURCES; fixes #372 2019-12-12 15:38:56 +01:00
Adam Stroud
82aba01ea8 Fix typo 2019-12-11 07:13:42 +01:00
romkatv
14fc4d838c unbreak Git commit formatting 2019-12-09 14:15:57 +01:00
Alex Jurkiewicz
3c54e091f0 Add example for showing the current Git commit 2019-12-09 16:53:46 +11:00
romkatv
339703e2b1 better commends for POWERLEVEL9K_GCLOUD_CONTENT_EXPANSION 2019-12-06 13:47:45 +01:00
romkatv
c971c2a619 use simpler patterns in POWERLEVEL9K_DIR_CLASSES examples that don't require extended_glob 2019-12-06 10:07:50 +01:00
romkatv
a8f9527079 add gcloud prompt segment; fixes #366 2019-12-05 23:53:30 +01:00
romkatv
22f0d6a82a add fvm 2019-12-05 17:45:30 +01:00
romkatv
196dce2d72 ensure vim_shell and midnight_commander icons are always shown; apply narrow_icons to them 2019-12-04 14:07:16 +01:00
romkatv
fb527ad091 remove unnecessary my_git_formatter argument 2019-12-02 14:20:29 +01:00
romkatv
113f290826 add vim_shell prompt segment; see #359 2019-12-02 13:29:58 +01:00
romkatv
ac2f387dfd new prompt segment: goenv (see #342) 2019-12-01 12:47:03 +01:00
romkatv
3340dc7269 new prompt segment: midnignt_commander (see #342) 2019-12-01 12:14:24 +01:00
romkatv
6a928c6500 comments 2019-11-30 17:51:58 +01:00
romkatv
37fa37c039 make it easier to edit context segment settings in generated configs 2019-11-30 17:34:12 +01:00
romkatv
d55923be87 survive ancient zsh 2019-11-29 11:26:28 +01:00
romkatv
fdb90994c9 add p10k reload and call it from all standard configs 2019-11-21 09:24:29 +01:00
romkatv
4b451fbc8a replace ↵ with ✘ in config templates
Some terminals are unable to display ↵ even when using fonts that
have this ghyph. See #326.
2019-11-19 10:43:51 +01:00
romkatv
1be144aed3 add POWERLEVEL9K_RBENV_SOURCES; see #333 2019-11-18 11:32:53 +01:00
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 2019-11-15 15:41:42 +01:00
Rostyslav Sotnychenko
1e009cf43a Add support for classes for AWS profile prompt 2019-11-14 12:59:03 +01:00
romkatv
1387763f27 comments 2019-11-12 08:05:39 +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
7b3532de44 enable vi_mode in configs that don't have prompt_char 2019-11-02 16:01:02 +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
Benedikt Stemmildt
af2b394eb3 Fix EXC_BAD_ACCESS on MacOS Catalina
Fix #259
2019-10-12 13:21:18 +02:00
romkatv
0302e68913 change dir foreground from black to white in rainbow style; looks a bit less ugly 2019-10-11 19:00:47 +02:00
romkatv
09130614ec add rainbow style; delete p9k style 2019-10-11 16:55:15 +02:00
romkatv
1ac9c771f7 cleanup 2019-10-11 16:53:28 +02:00
romkatv
0c59d87f08 add the default powerlevel9k style to the wizard 2019-10-10 17:36:40 +02:00
romkatv
40c062c3b9 tone down the downsides of pure 2019-10-10 14:13:47 +02:00
romkatv
f1d295ca65 docs 2019-10-10 10:23:10 +02:00
romkatv
d827b5f0a3 define POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0 in p10k-pure 2019-10-10 10:11:03 +02:00
romkatv
6b80091039 make p10k-pure work without gitstatus 2019-10-10 09:58:14 +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
f6d361d70a remove old screenshots 2019-09-24 14:07:28 +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
5f08c5493f merge improvements from lean to pure 2019-09-23 19:32:39 +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
Roman Perepelitsa
4de7eaa95e
comments 2019-09-10 11:29:08 +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
eabdc9dc2e fix battery color 2019-09-07 12:51:53 +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