1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00
Commit graph

1304 commits

Author SHA1 Message Date
Li Haoyuan
4ab4a1353f
Merge branch 'romkatv:master' into battery-prompt-for-windows 2024-11-05 16:03:14 +08:00
Roman Perepelitsa
5e26473457 support cpu_arch on linux (#2776) 2024-10-28 10:26:23 +01:00
Li Haoyuan
20fc7b8a26
Merge branch 'romkatv:master' into battery-prompt-for-windows 2024-10-14 19:53:44 +08:00
Filipe
0996a94118
Support aws-sso-cli on AWS prompt element (#2769)
Adds support for `aws-sso-cli` tool in AWS prompt element.

https://github.com/synfinatic/aws-sso-cli

Docs: https://synfinatic.github.io/aws-sso-cli/v1.17.0/commands/#managed-variables
2024-10-04 00:24:49 -07:00
Roman Perepelitsa
087405df78 minor cleanup (#2758) 2024-09-17 14:10:20 +02:00
Daphne Pfister
edf38f964e
Add AlmaLinux icon 2024-09-17 00:47:40 -04:00
Roman Perepelitsa
a42e374e25 add cmdline_url to <OSC>133;C when KITTY_SHELL_INTEGRATION is defined 2024-08-21 09:02:25 +02:00
Roman Perepelitsa
119e4039ef force shell integration when running under vscode integrated terminal with shell integration enabled 2024-08-17 09:34:01 +02:00
Li Haoyuan
71d628cc8a fix: Fix the logic of displaying the remain time when battery is charged or charging. 2024-07-12 02:37:25 +08:00
Li Haoyuan
bc0f9341da refactor: Change the method of parsing wmic output, improve performance. 2024-07-12 02:28:25 +08:00
Li Haoyuan
39e1c51ae3 feat: Add segment comment 2024-07-10 13:44:46 +08:00
Li Haoyuan
14a038bbda feat: Add battery prompt for Windows 2024-07-10 13:40:32 +08:00
Roman Perepelitsa
df8ed16343 wizard: prefer POWERLEVEL9K_MODE=nerdfont-v3 over nerdfont-complete"
The preference for nerdfont-complete was necessitated by a bug
in Windows Terminal that has since been fixed.

This reverts commit b474978b2e.

  wizard: prefer POWERLEVEL9K_MODE=nerdfont-complete over nerdfont-v3

See the reverted commit for details on the Windows Terminal bug.
2024-06-28 08:09:20 +02:00
Elan Ruusamäe
16e5848426
Doc: Use shorter readme link (#2671)
Since it links to readme on default branch (permalink), can just omit that all making links shorter.
2024-05-07 02:39:44 -07:00
Roman Perepelitsa
b28d68f44b allow ~/.timewarrior to be a symbolic link (#2603) 2024-04-25 12:13:02 +02:00
Roman Perepelitsa
01e3f0b4ba bump version 2024-04-23 08:11:49 +02:00
Roman Perepelitsa
808ba80ab0 fail more gracefully on timewarrior v3.0.1 (#2648) 2024-04-23 08:11:19 +02:00
Alexander Blum
bcef7cafdf
fixes taskwarrior init data for taskwarrior v3 (#2635) 2024-04-07 17:58:13 +02:00
Roman Perepelitsa
aeff1153d4 handle unquoted prompt when parsing pyenv.cfg 2024-04-05 20:54:21 +02:00
Hodei Navarro
d6a0fed1d9
Ease regex pattern when reading pyenv.cfg prompt value
This commit provides support for virtualenv-like pyenv.cfg configuration files, where the `prompt` value is a plain text rather than a quoted string.
Before the commit, `prompt = My custom prompt` would not match the regex, returning a fallback of the $VIRTUAL_ENV directory name.
After the commit, both venv-like `prompt = 'My custom prompt'` and virtualenv-like `prompt = My custom prompt` are supported.

Closes #2628
2024-04-05 20:01:09 +02:00
Roman Perepelitsa
a7f13e420e bump version 2024-03-18 16:21:57 +01:00
Roman Perepelitsa
55c8f74c38 Revert "remove DISABLE_UPDATE_PROMPT=true from instant prompt"
This reverts commit 07a971d310.
2024-03-18 16:21:24 +01:00
Roman Perepelitsa
50794faba4 Revert "add p10k-deactivate-instant-prompt"
This reverts commit 93d074a82b.
2024-03-18 16:21:07 +01:00
Roman Perepelitsa
a3f7dabcae cleanup 2024-03-18 15:46:27 +01:00
Roman Perepelitsa
93d074a82b add p10k-deactivate-instant-prompt
Function p10k-deactivate-instant-prompt is defined when and only when
instant prompt is active. Invoking it erases and deactivates instant
prompt.
2024-03-18 15:46:05 +01:00
Roman Perepelitsa
07a971d310 remove DISABLE_UPDATE_PROMPT=true from instant prompt
If this breaks your shell, it means you are using an old version of
oh-my-zsh, which predates this commit:

fe0dd8226d

You need to upgrade oh-my-zsh by running the following command:

    omz update
2024-03-18 15:46:05 +01:00
Roman Perepelitsa
6836bfe2da
fix heads in the wizard (#2605)
fixed on the phone, hence the dumb diff
2024-03-16 16:03:55 +01:00
Roman Perepelitsa
0fdca5b1e6 always offer the flat heads option in the wizard (#2600) 2024-03-16 13:40:56 +01:00
Roman Perepelitsa
0cc19ac2ed use nf-md-redhat as the RHEL logo when on nerdfont-v3 (#2583) 2024-02-23 06:03:55 +01:00
Roman Perepelitsa
b973805f01 cleanup and bump version (#2576) 2024-02-18 17:18:59 +01:00
Adam Schumacher
bb16e366c3 Undelete ubuntu. I shouldn't code this tired. 2024-02-17 22:17:50 -05:00
Adam Schumacher
31d99b694c Fix in wizard.zsh 2024-02-17 22:15:53 -05:00
Adam Schumacher
bfbc65e63d whitespace 2024-02-17 21:38:10 -05:00
Adam Schumacher
12e0592ac8 Still keep debian 2024-02-17 21:29:14 -05:00
Adam Schumacher
9e3418d319 Detect rpi os based on apt source 2024-02-17 21:26:53 -05:00
Roman Perepelitsa
17cd9e354a when looking for .fvm/flutter_sdk, require that the last segment is a symlink rather than .fvm (#2573) 2024-02-15 15:32:29 +01:00
Roman Perepelitsa
8e2a22d80b cleanup and bump version (#2572) 2024-02-12 10:45:18 +01:00
weirdgiraffe
67cedd3edc
add visual expansion to wizard 2024-02-12 10:31:47 +01:00
weirdgiraffe
eb8f96f808
add prompt segment for yazi levels 2024-02-12 10:31:44 +01:00
weirdgiraffe
1aa91f0069
add icon for yazi level 2024-02-12 10:30:38 +01:00
Roman Perepelitsa
5bba4b849b skip batteries with "Unknown" status (#2562) 2024-02-06 09:56:26 +01:00
Roman Perepelitsa
ce7c242337 bump versions 2024-02-03 12:14:58 +01:00
Ulices
34ee1c6bbb
fix: use correct sourcehut repository url (#2556)
sourcehut.org is the website of the organization but
sr.ht is the website were the repositories are hosted.
2024-02-03 03:13:23 -08:00
Roman Perepelitsa
62341054d8 set the default value of LINUX_NEON_ICON to a glyph that exists in the recommended font (#2553) 2024-02-01 06:44:39 +01:00
Andrea
adc238fa1d neon support 2024-01-31 23:49:13 +01:00
Andrea
6f4520cc13 add neon support 2024-01-31 23:43:11 +01:00
Roman Perepelitsa
8fefef2285 rewrite the handling of custom prompt in virtualenv (#2540) 2024-01-20 10:30:56 +01:00
Mikalai Rahachou
4d7925c983
Add parsing of pyvenv.cfg 2024-01-19 16:31:44 +01:00
Roman Perepelitsa
cda24b72b7 bump version 2024-01-15 17:18:10 +01:00
Roman Perepelitsa
f5d5abfe1f fix a silly bug introduced in the last commit (#2534) 2024-01-15 17:17:14 +01:00