Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | workaround for a bug in sysread | romkatv | 2020-02-05 | 2 | -16/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -26/+25 |
| | | | | fixes #469 | ||||
* | 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. | ||||
* | remove profiling instrumentation | romkatv | 2020-02-03 | 1 | -6/+0 |
| | |||||
* | comments | romkatv | 2020-02-03 | 1 | -0/+1 |
| | |||||
* | add wifi prompt segment | romkatv | 2020-02-03 | 2 | -2/+108 |
| | |||||
* | bug fix: make reset=2 sticky | romkatv | 2020-02-03 | 1 | -3/+4 |
| | |||||
* | replace all wide glyphs with narrow in nerdfont configuration; many ↵ | romkatv | 2020-02-03 | 1 | -3/+3 |
| | | | | terminals have bugs that prevents them from properly rendering wide glyphs | ||||
* | typo | romkatv | 2020-02-03 | 1 | -2/+2 |
| | |||||
* | remove redundant expansion of C-escapes | romkatv | 2020-02-03 | 1 | -1/+1 |
| | |||||
* | add POWERLEVEL9K_BATTERY_${state}_{STAGES,LEVEL_BACKGROUND,LEVEL_FOREGROUND} | romkatv | 2020-02-03 | 1 | -21/+40 |
| | |||||
* | add extra options to pure style | romkatv | 2020-02-02 | 1 | -43/+81 |
| | | | | | | | - non-permanent content location (left or right) - show current time - prompt height (one or two lines) - prompt spacing (with empty line between prompts or without) | ||||
* | quote $foo when running with unknown options; fixes #453 | romkatv | 2020-02-02 | 4 | -17/+17 |
| | |||||
* | Merge branch 'master' into tour | romkatv | 2020-01-31 | 2 | -10/+16 |
|\ | |||||
| * | 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 | 2 | -2/+2 |
| | | |||||
* | | add POWERLEVEL9K_LEGACY_ICON_SPACING | romkatv | 2020-01-30 | 1 | -180/+188 |
|/ | |||||
* | 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 | 2 | -1/+18 |
| | |||||
* | add `tabbed` to the list of precommands | romkatv | 2020-01-28 | 2 | -1/+1 |
| | |||||
* | 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 | 2 | -381/+381 |
| | |||||
* | better text flowing when nudging to restart iTerm2 | romkatv | 2020-01-27 | 1 | -3/+3 |
| | |||||
* | detect source code corruption done by antigen and suggest resetting cache | romkatv | 2020-01-27 | 1 | -1/+25 |
| | |||||
* | notes | romkatv | 2020-01-26 | 1 | -0/+1 |
| | |||||
* | drop support for no-icons mode from all config templates | romkatv | 2020-01-26 | 1 | -11/+1 |
| | |||||
* | add timewarrior prompt segment; see #295 | romkatv | 2020-01-26 | 2 | -0/+65 |
| | |||||
* | fix prompt_char (never showed error); unify options | romkatv | 2020-01-26 | 5 | -89/+54 |
| | |||||
* | move notes.txt to internal to avoid confusing people | romkatv | 2020-01-26 | 1 | -0/+10 |
| | |||||
* | remove debugging junk | romkatv | 2020-01-26 | 1 | -40/+0 |
| | |||||
* | 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 | 2 | -7/+6 |
| | |||||
* | add P9K_KUBECONTEXT_USER | romkatv | 2020-01-26 | 1 | -8/+12 |
| |