aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add POWERLEVEL9K_BATTERY_${state}_{STAGES,LEVEL_BACKGROUND,LEVEL_FOREGROUND}romkatv2020-02-031-21/+40
|
* quote $foo when running with unknown options; fixes #453romkatv2020-02-021-13/+13
|
* speed up terraform, add classes to configs, bump versionromkatv2020-01-311-9/+7
|
* Add support for classes to terraform segmentJérôme Foray2020-01-311-1/+9
|
* change the default timewarrior icon (shield => watch); see #295romkatv2020-01-301-1/+1
|
* bug fix: remove spurious "entry=" from instant promptromkatv2020-01-301-1/+1
|
* bug fix: don't cache range and nnn segments as their content is not staticromkatv2020-01-301-4/+0
|
* add nix_shell prompt segment; see #448romkatv2020-01-301-1/+13
|
* minor fixesromkatv2020-01-281-4/+7
|
* bump versionromkatv2020-01-281-1/+1
|
* quote override dirs form rustupromkatv2020-01-281-1/+1
|
* don't call stat in prompt_dir; use _p9k__parent_mtimes insteadromkatv2020-01-281-9/+4
|
* cleanupromkatv2020-01-281-2/+3
|
* migrate remaining segments to the new globbing apiromkatv2020-01-281-161/+202
|
* make __p9k_byte_suffix readonlyromkatv2020-01-281-1/+1
|
* s/_p9k_upsearch/_p9k_upglob/gromkatv2020-01-281-10/+10
|
* finish fast globbing and start migrating stuffromkatv2020-01-271-213/+143
|
* Merge branch 'master' into globromkatv2020-01-271-0/+1
|\
| * set prompt_subst when printing ruler; see #444romkatv2020-01-271-0/+1
| |
* | start working on faster globbingromkatv2020-01-271-52/+167
|/
* move buffer parser to internal/parser.zshromkatv2020-01-271-381/+2
|
* detect source code corruption done by antigen and suggest resetting cacheromkatv2020-01-271-1/+25
|
* add timewarrior prompt segment; see #295romkatv2020-01-261-0/+60
|
* fix prompt_char (never showed error); unify optionsromkatv2020-01-261-65/+50
|