Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add POWERLEVEL9K_ASDF_${plugin}_{SOURCES,PROMPT_ALWAYS_SHOW} with fallback ↵ | romkatv | 2020-02-07 | 1 | -61/+108 |
| | | | | to POWERLEVEL9K_ASDF_{SOURCES,PROMPT_ALWAYS_SHOW} | ||||
* | Merge branch 'master' into asdf | romkatv | 2020-02-06 | 1 | -4/+4 |
|\ | |||||
| * | pick up `ifconfig` and `ip` from PATH | romkatv | 2020-02-06 | 1 | -4/+4 |
| | | | | | | | | | | Apparently there are systems on which these tools are not in /sbin. Fixes #472. | ||||
* | | asdf: replace "-" with "_" when converting to upper case | romkatv | 2020-02-06 | 1 | -2/+2 |
| | | |||||
* | | add asdf prompt segment | romkatv | 2020-02-06 | 1 | -2/+200 |
| | | |||||
* | | Merge branch 'master' into asdf | romkatv | 2020-02-06 | 1 | -45/+126 |
|\| | |||||
| * | respect TIMEWARRIORDB environment variable (#471) | David Ward | 2020-02-05 | 1 | -6/+7 |
| | | | | | | Signed-off-by: David Ward <dward@redhat.com> | ||||
| * | slightly shorter bandwidth display | romkatv | 2020-02-05 | 1 | -5/+5 |
| | | |||||
| * | fix netstat parsing on macos | romkatv | 2020-02-05 | 1 | -1/+1 |
| | | |||||
| * | fix netstat parsing on macos | romkatv | 2020-02-05 | 1 | -5/+8 |
| | | |||||
| * | add network bandwidth stats to `ip` segment | romkatv | 2020-02-05 | 1 | -12/+70 |
| | | |||||
| * | workaround for a bug in sysread | romkatv | 2020-02-05 | 1 | -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 level | romkatv | 2020-02-05 | 1 | -11/+25 |
| | | | | | | | | fixes #469 | ||||
* | | comments | romkatv | 2020-02-05 | 1 | -0/+1 |
| | | |||||
* | | comments | romkatv | 2020-02-05 | 1 | -0/+1 |
|/ | |||||
* | remove debug messages; fixes #466 | Roman Perepelitsa | 2020-02-04 | 1 | -2/+0 |
| | |||||
* | extend the ZLE_RPROMPT_INDENT=0 workaround to a few more cases | romkatv | 2020-02-04 | 1 | -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. | ||||
* | comments | romkatv | 2020-02-03 | 1 | -0/+1 |
| | |||||
* | add wifi prompt segment | romkatv | 2020-02-03 | 1 | -2/+103 |
| | |||||
* | typo | romkatv | 2020-02-03 | 1 | -2/+2 |
| | |||||
* | add POWERLEVEL9K_BATTERY_${state}_{STAGES,LEVEL_BACKGROUND,LEVEL_FOREGROUND} | romkatv | 2020-02-03 | 1 | -21/+40 |
| | |||||
* | quote $foo when running with unknown options; fixes #453 | romkatv | 2020-02-02 | 1 | -13/+13 |
| | |||||
* | speed up terraform, add classes to configs, bump version | romkatv | 2020-01-31 | 1 | -9/+7 |
| | |||||
* | Add support for classes to terraform segment | Jérôme Foray | 2020-01-31 | 1 | -1/+9 |
| | |||||
* | change the default timewarrior icon (shield => watch); see #295 | romkatv | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | bug fix: remove spurious "entry=" from instant prompt | romkatv | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | bug fix: don't cache range and nnn segments as their content is not static | romkatv | 2020-01-30 | 1 | -4/+0 |
| | |||||
* | add nix_shell prompt segment; see #448 | romkatv | 2020-01-30 | 1 | -1/+13 |
| | |||||
* | minor fixes | romkatv | 2020-01-28 | 1 | -4/+7 |
| | |||||
* | bump version | romkatv | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | quote override dirs form rustup | romkatv | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | don't call stat in prompt_dir; use _p9k__parent_mtimes instead | romkatv | 2020-01-28 | 1 | -9/+4 |
| | |||||
* | cleanup | romkatv | 2020-01-28 | 1 | -2/+3 |
| | |||||
* | migrate remaining segments to the new globbing api | romkatv | 2020-01-28 | 1 | -161/+202 |
| | |||||
* | make __p9k_byte_suffix readonly | romkatv | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | s/_p9k_upsearch/_p9k_upglob/g | romkatv | 2020-01-28 | 1 | -10/+10 |
| | |||||
* | finish fast globbing and start migrating stuff | romkatv | 2020-01-27 | 1 | -213/+143 |
| | |||||
* | Merge branch 'master' into glob | romkatv | 2020-01-27 | 1 | -0/+1 |
|\ | |||||
| * | set prompt_subst when printing ruler; see #444 | romkatv | 2020-01-27 | 1 | -0/+1 |
| | | |||||
* | | start working on faster globbing | romkatv | 2020-01-27 | 1 | -52/+167 |
|/ | |||||
* | move buffer parser to internal/parser.zsh | romkatv | 2020-01-27 | 1 | -381/+2 |
| | |||||
* | detect source code corruption done by antigen and suggest resetting cache | romkatv | 2020-01-27 | 1 | -1/+25 |
| | |||||
* | add timewarrior prompt segment; see #295 | romkatv | 2020-01-26 | 1 | -0/+60 |
| | |||||
* | fix prompt_char (never showed error); unify options | romkatv | 2020-01-26 | 1 | -65/+50 |
| | |||||
* | bump version | romkatv | 2020-01-26 | 1 | -1/+1 |
| | |||||
* | remove trailing zeros from _p9k_human_readable_bytes | romkatv | 2020-01-26 | 1 | -1/+1 |
| | |||||
* | cleanup | romkatv | 2020-01-26 | 1 | -1/+1 |
| | |||||
* | bug fixes: | romkatv | 2020-01-26 | 1 | -13/+35 |
| | | | | | | - don't use typeset -p on zsh 5.4 as it's broken there - remove redundant local declarations from _p9k_prompt_net_iface_async - change the default value of POWERLEVEL9K_PUBLIC_IP_HOST as the old is broken | ||||
* | bug fix: declare worker global vars in _p9k_init_vars | romkatv | 2020-01-26 | 1 | -0/+6 |
| | |||||
* | add P9K_KUBECONTEXT_USER | romkatv | 2020-01-26 | 1 | -8/+12 |
| |