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

1292 commits

Author SHA1 Message Date
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
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
36cce9a088 wizard: replace rm with zf_rm (#2504) 2023-12-09 09:38:45 +01:00
Dominic Reich
44f754d711
use "rm" instead of "unlink" to delete old config file 2023-12-08 18:49:24 +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
Roman Perepelitsa
9547f22822 s/VCS_GIT_ARCH_ICON/VCS_GIT_ARCHLINUX_ICON/ (#2493) 2023-12-02 11:50:18 +01:00
Roman Perepelitsa
c39e5304a1 add VCS_GIT_GITEA_ICON and VCS_GIT_SOURCEHUT_ICON (#2493) 2023-12-02 09:49:50 +01:00
Roman Perepelitsa
096a731db3 define usable defaults for VCS_*_ICON (#2493) 2023-12-02 09:44:17 +01:00
Roman Perepelitsa
783588c17f Merge branch 'add_remotes' of https://github.com/hasecilu/powerlevel10k 2023-12-02 09:32:15 +01:00
Roman Perepelitsa
211c90343f wizard: recognize source -- ~.p10k.zsh in .zshrc 2023-11-30 09:47:34 +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
hasecilu
92bee79642
Add icons for VCS_GIT usage
The icons are from organizations that manage a git instance by themselves.
2023-11-23 16:49:36 -06:00