Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | survive broken $TMPDIR | Roman Perepelitsa | 2022-01-26 | 1 | -1/+7 |
| | |||||
* | remove spurious error messages from _p9k_worker_stop | Roman Perepelitsa | 2020-06-03 | 1 | -2/+4 |
| | |||||
* | avoid spurious error (even if harmless and invisible) on worker cleanup | romkatv | 2020-05-26 | 1 | -1/+2 |
| | |||||
* | Revert "close instant prompt descriptors in worker" | romkatv | 2020-05-20 | 1 | -3/+0 |
| | | | | This reverts commit 646a826440235307ba358fd83ff2eb2eadd71b80. | ||||
* | close instant prompt descriptors in worker | romkatv | 2020-05-19 | 1 | -0/+3 |
| | |||||
* | `cd` => `cd -q` to survive weird chpwd hooks | romkatv | 2020-05-04 | 1 | -1/+1 |
| | |||||
* | 'cd /' in the worker to avoid locking cwd | romkatv | 2020-05-04 | 1 | -0/+1 |
| | |||||
* | work around bugs in kitty where it hangs on close | romkatv | 2020-05-02 | 1 | -0/+1 |
| | | | | | | | | | All terminals quit when the child process terminates. Except kitty. Kitty doesn't quit until there are no open file descriptors to the tty. And the best thing? This is "better". Having the balls to claim this nasty bug as feature is worthy of admiration. | ||||
* | backport changes to 5.1: procsubstpid doesn't exist there | romkatv | 2020-02-22 | 1 | -3/+3 |
| | |||||
* | don't send worker pid -- master can get it on its own | romkatv | 2020-02-22 | 1 | -10/+10 |
| | |||||
* | optimize worker i/o | romkatv | 2020-02-22 | 1 | -3/+6 |
| | |||||
* | speed up worker chatter | romkatv | 2020-02-14 | 1 | -9/+8 |
| | |||||
* | make fewer sysread calls | romkatv | 2020-02-10 | 1 | -15/+19 |
| | |||||
* | rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and ↵ | romkatv | 2020-02-10 | 1 | -2/+2 |
| | | | | asdf caches change | ||||
* | workaround for a bug in sysread | romkatv | 2020-02-05 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | remove profiling instrumentation | romkatv | 2020-02-03 | 1 | -6/+0 |
| | |||||
* | bug fix: make reset=2 sticky | romkatv | 2020-02-03 | 1 | -3/+4 |
| | |||||
* | quote $foo when running with unknown options; fixes #453 | romkatv | 2020-02-02 | 1 | -2/+2 |
| | |||||
* | fix prompt_char (never showed error); unify options | romkatv | 2020-01-26 | 1 | -9/+3 |
| | |||||
* | remove debugging junk | romkatv | 2020-01-26 | 1 | -40/+0 |
| | |||||
* | bug fix: declare worker global vars in _p9k_init_vars | romkatv | 2020-01-26 | 1 | -7/+0 |
| | |||||
* | process ready replies from worker synchornously in precmd | romkatv | 2020-01-25 | 1 | -0/+2 |
| | |||||
* | delete fifo before killing worker from watchdog | romkatv | 2020-01-25 | 1 | -2/+6 |
| | |||||
* | trap PIPE | romkatv | 2020-01-25 | 1 | -10/+10 |
| | |||||
* | migrate over from the old worker api; use worker in battery on macOS | romkatv | 2020-01-25 | 1 | -118/+63 |
| | |||||
* | use ascii ENQ (0x05) for watchdog pings | romkatv | 2020-01-25 | 1 | -6/+3 |
| | |||||
* | add watchdog to worker | romkatv | 2020-01-25 | 1 | -6/+14 |
| | |||||
* | massive worker simplification (figure out during massive hangover) | romkatv | 2020-01-24 | 1 | -101/+31 |
| | |||||
* | synthesize common prompt functions | romkatv | 2020-01-21 | 1 | -8/+18 |
| | |||||
* | refactor worker code | romkatv | 2020-01-20 | 1 | -51/+47 |
| | |||||
* | work around wsl bugs | romkatv | 2020-01-19 | 1 | -3/+5 |
| | |||||
* | explicit exec in worker | romkatv | 2020-01-19 | 1 | -2/+2 |
| | |||||
* | load the same modules and functions in worker as in master | romkatv | 2020-01-19 | 1 | -1/+11 |
| | |||||
* | even further simplify worker bootstrap | romkatv | 2020-01-19 | 1 | -14/+17 |
| | |||||
* | further simplify worker bootstrap | romkatv | 2020-01-19 | 1 | -5/+6 |
| | |||||
* | simplify worker bootstrap | romkatv | 2020-01-19 | 1 | -47/+56 |
| | |||||
* | migrate disk_usage and public_ip to worker | romkatv | 2020-01-18 | 1 | -7/+31 |
| | |||||
* | remove explicit timeout support from worker | romkatv | 2020-01-18 | 1 | -77/+47 |
| | |||||
* | support parallelism in worker | romkatv | 2020-01-18 | 1 | -73/+141 |
| | |||||
* | cleanup | romkatv | 2020-01-17 | 1 | -0/+1 |
| | |||||
* | cleanup | romkatv | 2020-01-17 | 1 | -5/+5 |
| | |||||
* | add worker.zsh | romkatv | 2020-01-17 | 1 | -0/+278 |