aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* unset WIDGET when calling p10k-on-post-widget from _p9k_on_expandromkatv2020-02-161-1/+5
|
* call p10k-on-pre-prompt on every precmd; call widget hooks right after when ↵romkatv2020-02-161-7/+18
| | | | in zle
* Revert "call _p9k_on_expand and subsequenty p10k-on-pre-prompt on every ↵romkatv2020-02-161-2/+3
| | | | | | precmd, even when called from zle" This reverts commit a6363401bb31d15dba31fbde867956d8b2edc107.
* call _p9k_on_expand and subsequenty p10k-on-pre-prompt on every precmd, even ↵romkatv2020-02-161-3/+2
| | | | when called from zle
* bug fix: truncate_to_last didn't behave like %1~ in / and /fooromkatv2020-02-151-3/+5
|
* bump versionromkatv2020-02-151-1/+1
|
* remove "PHP" from php_versionromkatv2020-02-151-1/+1
|
* speed up laravel_versionromkatv2020-02-151-5/+9
|
* add POWERLEVEL9K_PHP_VERSION_PROJECT_ONLY; use PHP_ICON in php_versionromkatv2020-02-151-1/+5
|
* add phpenv prompt segment; see #499romkatv2020-02-151-1/+53
|
* more robust prompt options managementromkatv2020-02-151-27/+26
|
* bug fix: detect gcloud config changes when using non-default configsromkatv2020-02-141-3/+4
|
* disable mmap when loading powerlevel10k; maybe it'll help with #490romkatv2020-02-131-2/+2
|
* bump versionromkatv2020-02-131-1/+1
|
* asdf bug fix: call list-legacy-filenames only when legacy_version_file = yesromkatv2020-02-131-6/+5
| | | | Fixes #492.
* add POWERLEVEL9K_${SEGMENT}_${STATE}_SHOW_ON_UPGLOB with regular fallback; ↵romkatv2020-02-121-44/+57
| | | | see #485
* make SHOW_ON_COMMAND work with legacy custom prompts; see #488romkatv2020-02-121-1/+1
|
* fix `p10k display -a`romkatv2020-02-121-2/+8
|
* don't use POWERLEVEL9K_* params after init; simplify asdfromkatv2020-02-111-32/+30
|
* minor bug fix in nordvpn plus cleanup of the sameromkatv2020-02-101-6/+7
|
* cleanupromkatv2020-02-101-1/+1
|
* commentsromkatv2020-02-101-3/+3
|
* don't persist fprint cacheromkatv2020-02-101-8/+13
|
* dump state and instant prompt from zle (no more forking)romkatv2020-02-101-19/+23
|
* rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and ↵romkatv2020-02-101-810/+824
| | | | asdf caches change
* bug fix: persist _p9k_dumped_instant_prompt_sigs changesromkatv2020-02-101-1/+1
|
* bump versionromkatv2020-02-081-1/+1
|
* bug fix: handle empty versions in legacy asdf files correctlyromkatv2020-02-081-4/+3
|
* bug fix: don't crap out when file names contain colonromkatv2020-02-081-8/+9
| | | | See #477.
* add POWERLEVEL9K_ASDF_${plugin}_SHOW_SYSTEM with fallback to ↵romkatv2020-02-071-0/+12
| | | | POWERLEVEL9K_ASDF_SHOW_SYSTEM
* add POWERLEVEL9K_ASDF_${plugin}_{SOURCES,PROMPT_ALWAYS_SHOW} with fallback ↵romkatv2020-02-071-61/+108
| | | | to POWERLEVEL9K_ASDF_{SOURCES,PROMPT_ALWAYS_SHOW}
* Merge branch 'master' into asdfromkatv2020-02-061-4/+4
|\
| * pick up `ifconfig` and `ip` from PATHromkatv2020-02-061-4/+4
| | | | | | | | | | Apparently there are systems on which these tools are not in /sbin. Fixes #472.
* | asdf: replace "-" with "_" when converting to upper caseromkatv2020-02-061-2/+2
| |
* | add asdf prompt segmentromkatv2020-02-061-2/+200
| |
* | Merge branch 'master' into asdfromkatv2020-02-061-45/+126
|\|
| * respect TIMEWARRIORDB environment variable (#471)David Ward2020-02-051-6/+7
| | | | | | Signed-off-by: David Ward <dward@redhat.com>
| * slightly shorter bandwidth displayromkatv2020-02-051-5/+5
| |
| * fix netstat parsing on macosromkatv2020-02-051-1/+1
| |
| * fix netstat parsing on macosromkatv2020-02-051-5/+8
| |
| * add network bandwidth stats to `ip` segmentromkatv2020-02-051-12/+70
| |
| * workaround for a bug in sysreadromkatv2020-02-051-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in sysread from zsh/system. It triggers in the following case: 1. zsh has been compiled with HAVE_SELECT and without HAVE_POLL. 2. sysread is called with timeout (-t). 3. the input file descriptor is valid but there is no data to read. 4. errno happens to be EINTR prior to the call to sysread. This results in an infinite loop in sysread: while ((ret = select(infd+1, (SELECT_ARG_2_T) &fds, NULL, NULL,&select_tv)) < 1) { if (errno != EINTR || errflag || retflag || breaks || contflag) break; } Here select() keeps returning 0, indicating timeout. This is not an error, so errno doesn't get set. If it was EINTR prior to the call, it stays EINTR, and the loop keeps spinning. As a workaround, powerlevel10k sets errno to ENOTTY (any value other than EINTR will do) prior to calling sysread with timeout.
| * when the user's locale is misconfigured, set it to utf8 at the top levelromkatv2020-02-051-11/+25
| | | | | | | | fixes #469
* | commentsromkatv2020-02-051-0/+1
| |
* | commentsromkatv2020-02-051-0/+1
|/
* remove debug messages; fixes #466Roman Perepelitsa2020-02-041-2/+0
|
* extend the ZLE_RPROMPT_INDENT=0 workaround to a few more casesromkatv2020-02-041-1/+13
| | | | | | | | If the last right prompt line can be proven to always have zero length after prompt expansion, we can unset RPROMPT thus avoiding triggering zsh bugs related to ZLE_RPROMPT_INDENT=0. Fixes #458.
* commentsromkatv2020-02-031-0/+1
|
* add wifi prompt segmentromkatv2020-02-031-2/+103
|
* typoromkatv2020-02-031-2/+2
|