Commit Graph

1295 Commits (bc0f9341da724cefe31ddced91ebb78cf4d6fb48)

Author SHA1 Message Date
Li Haoyuan bc0f9341da refactor: Change the method of parsing wmic output, improve performance.
Li Haoyuan 39e1c51ae3 feat: Add segment comment
Li Haoyuan 14a038bbda feat: Add battery prompt for Windows
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.
Elan Ruusamäe 16e5848426
Doc: Use shorter readme link ()
Since it links to readme on default branch (permalink), can just omit that all making links shorter.
Roman Perepelitsa b28d68f44b allow ~/.timewarrior to be a symbolic link ()
Roman Perepelitsa 01e3f0b4ba bump version
Roman Perepelitsa 808ba80ab0 fail more gracefully on timewarrior v3.0.1 ()
Alexander Blum bcef7cafdf
fixes taskwarrior init data for taskwarrior v3 ()
Roman Perepelitsa aeff1153d4 handle unquoted `prompt` when parsing pyenv.cfg
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 
Roman Perepelitsa a7f13e420e bump version
Roman Perepelitsa 55c8f74c38 Revert "remove `DISABLE_UPDATE_PROMPT=true` from instant prompt"
This reverts commit 07a971d310.
Roman Perepelitsa 50794faba4 Revert "add p10k-deactivate-instant-prompt"
This reverts commit 93d074a82b.
Roman Perepelitsa a3f7dabcae cleanup
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.
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
Roman Perepelitsa 6836bfe2da
fix heads in the wizard ()
fixed on the phone, hence the dumb diff
Roman Perepelitsa 0fdca5b1e6 always offer the flat heads option in the wizard ()
Roman Perepelitsa 0cc19ac2ed use nf-md-redhat as the RHEL logo when on nerdfont-v3 ()
Roman Perepelitsa b973805f01 cleanup and bump version ()
Adam Schumacher bb16e366c3 Undelete ubuntu. I shouldn't code this tired.
Adam Schumacher 31d99b694c Fix in wizard.zsh
Adam Schumacher bfbc65e63d whitespace
Adam Schumacher 12e0592ac8 Still keep debian
Adam Schumacher 9e3418d319 Detect rpi os based on apt source
Roman Perepelitsa 17cd9e354a when looking for .fvm/flutter_sdk, require that the last segment is a symlink rather than .fvm ()
Roman Perepelitsa 8e2a22d80b cleanup and bump version ()
weirdgiraffe 67cedd3edc
add visual expansion to wizard
weirdgiraffe eb8f96f808
add prompt segment for yazi levels
weirdgiraffe 1aa91f0069
add icon for yazi level
Roman Perepelitsa 5bba4b849b skip batteries with "Unknown" status ()
Roman Perepelitsa ce7c242337 bump versions
Ulices 34ee1c6bbb
fix: use correct sourcehut repository url ()
sourcehut.org is the website of the organization but
sr.ht is the website were the repositories are hosted.
Roman Perepelitsa 62341054d8 set the default value of LINUX_NEON_ICON to a glyph that exists in the recommended font ()
Andrea adc238fa1d neon support
Andrea 6f4520cc13 add neon support
Roman Perepelitsa 8fefef2285 rewrite the handling of custom prompt in virtualenv ()
Mikalai Rahachou 4d7925c983
Add parsing of pyvenv.cfg
Roman Perepelitsa cda24b72b7 bump version
Roman Perepelitsa f5d5abfe1f fix a silly bug introduced in the last commit ()
Roman Perepelitsa 651033c3df work around a bug in laravel that results in colorized output ()
Roman Perepelitsa d804048efc fix a bug in DCS detection within instant prompt output ()
Roman Perepelitsa 36cce9a088 wizard: replace rm with zf_rm ()
Dominic Reich 44f754d711
use "rm" instead of "unlink" to delete old config file
Roman Perepelitsa 7fd76370f5 be a lot more strict when matching the remote git URL ()
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.
Roman Perepelitsa 9547f22822 s/VCS_GIT_ARCH_ICON/VCS_GIT_ARCHLINUX_ICON/ ()
Roman Perepelitsa c39e5304a1 add VCS_GIT_GITEA_ICON and VCS_GIT_SOURCEHUT_ICON ()
Roman Perepelitsa 096a731db3 define usable defaults for VCS_*_ICON ()
Roman Perepelitsa 783588c17f Merge branch 'add_remotes' of https://github.com/hasecilu/powerlevel10k