1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 21:20:07 +00:00
Commit graph

956 commits

Author SHA1 Message Date
Roman Perepelitsa
c8dc91ad58 wip 2024-04-15 15:24:06 +04:00
Wu, Zhenyu
cfd507a501
support wifi for Android 2024-04-14 21:01:14 +08: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
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
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
eb8f96f808
add prompt segment for yazi levels 2024-02-12 10:31:44 +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
Roman Perepelitsa
651033c3df work around a bug in laravel that results in colorized output (#2534) 2024-01-15 15:11:55 +01:00
Roman Perepelitsa
d804048efc fix a bug in DCS detection within instant prompt output (#2518) 2024-01-05 05:27:33 +01:00
Roman Perepelitsa
7fd76370f5 be a lot more strict when matching the remote git URL (#2493)
When you choose "Many icons" option in the configuration wizard,
git repositories with a remote receive an icon that depends on
the remote's URL. In the past the matching of the URL was rather
lax: both https://foo.bar/github.com and https://github.com.foo.bar/
were recognized as belonging to github.com. This is no longer the
case.

If you start seeing the plain "git" icon where you were used to
seeing a github/gitlab/etc logo, please open an issue. Make sure
to mention the remote URL of your repo.

This change also allows you to specify the mapping from remote URLs
to icons. Here's an example:

    typeset -g POWERLEVEL9K_VCS_GIT_REMOTE_ICONS=(
      '*@my-company.com:*' VCS_GIT_MY_COMPANY_ICON
      '?*'                 VCS_GIT_ICON
      '*'                  ''
    )

    POWERLEVEL9K_VCS_GIT_MY_COMPANY_ICON='my-company-logo'

The matching is done in the specified order: the first match wins.
2023-12-02 12:20:55 +01:00
hasecilu
47d5397baa
Add various remote git server instances
Currently only icons for big providers of git hosting service are available.

Organizations of open source software usually manage their own instances.

Adding the remote addresses of some of this organizations will let us to
identify via a glyph icon the provider of the source code.
2023-11-23 16:55:36 -06:00
Roman Perepelitsa
174ce9bf01 recognize azure devops git remote HTTPS URLs (#2472) 2023-11-01 10:44:43 +01:00
Roman Perepelitsa
18f0bec1bb use newer icons for azure and azure devops (#2472) 2023-11-01 10:37:54 +01:00
Roman Perepelitsa
430616734a make terraform_version compatible with tfenv (#2049) 2023-10-23 10:44:15 +02:00
Roman Perepelitsa
c7fa7d6748 make rust_version segment compatible with the new rustup toolchain file (#2413) 2023-10-23 10:09:41 +02:00
Roman Perepelitsa
862440ae11 add an icon for azure to vcs (#2447) 2023-10-09 10:17:06 +02:00
Roman Perepelitsa
215b20e087 bump version 2023-09-08 12:16:35 +02:00
Jussi Timperi
be4c68fd0a
add Guix System icon (#2424) 2023-09-08 03:11:37 -07:00
Alejandro Criado-Pérez
717f9a1881
fix typos in docs and comments 2023-08-10 00:31:37 -07:00
Roman Perepelitsa
68104494a7 bump version + cleanup (#2391) 2023-07-25 21:42:48 +02:00
Markus Kurtz
12aa3fa3c4 Add rocky icon 2023-07-25 20:50:59 +02:00
Roman Perepelitsa
7e9a79f3f1 new segment: per_directory_history (#2384) 2023-07-25 13:25:19 +02:00
Roman Perepelitsa
1d96f5e066 unquote ID in /etc/os-release (#2388) 2023-07-25 07:55:26 +02:00
Roman Perepelitsa
e8aa8cce7f unquote ID in /etc/os-release (#2388) 2023-07-25 07:54:38 +02:00
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.
2023-07-11 11:08:18 +02:00
BEN MANSOUR Mohamed Rafik
0c28fec137 fix pattern coloration for azure defined classes 2023-07-10 22:07:28 +02:00
Roman Perepelitsa
4dca4bdfbb bug fix: honor POWERLEVEL9K_LEFT_SEGMENT_END_SEPARATOR in instant prompt (#2376) 2023-07-09 09:42:35 +02:00