aboutsummaryrefslogtreecommitdiff
path: root/internal/worker.zsh
Commit message (Collapse)AuthorAgeFilesLines
* survive broken $TMPDIRRoman Perepelitsa2022-01-261-1/+7
|
* remove spurious error messages from _p9k_worker_stopRoman Perepelitsa2020-06-031-2/+4
|
* avoid spurious error (even if harmless and invisible) on worker cleanupromkatv2020-05-261-1/+2
|
* Revert "close instant prompt descriptors in worker"romkatv2020-05-201-3/+0
| | | | This reverts commit 646a826440235307ba358fd83ff2eb2eadd71b80.
* close instant prompt descriptors in workerromkatv2020-05-191-0/+3
|
* `cd` => `cd -q` to survive weird chpwd hooksromkatv2020-05-041-1/+1
|
* 'cd /' in the worker to avoid locking cwdromkatv2020-05-041-0/+1
|
* work around bugs in kitty where it hangs on closeromkatv2020-05-021-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 thereromkatv2020-02-221-3/+3
|
* don't send worker pid -- master can get it on its ownromkatv2020-02-221-10/+10
|
* optimize worker i/oromkatv2020-02-221-3/+6
|
* speed up worker chatterromkatv2020-02-141-9/+8
|
* make fewer sysread callsromkatv2020-02-101-15/+19
|
* rename many _p9k_ vars to _p9k__; trigger state dump when timewarrior and ↵romkatv2020-02-101-2/+2
| | | | asdf caches change
* workaround for a bug in sysreadromkatv2020-02-051-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 instrumentationromkatv2020-02-031-6/+0
|
* bug fix: make reset=2 stickyromkatv2020-02-031-3/+4
|
* quote $foo when running with unknown options; fixes #453romkatv2020-02-021-2/+2
|
* fix prompt_char (never showed error); unify optionsromkatv2020-01-261-9/+3
|
* remove debugging junkromkatv2020-01-261-40/+0
|
* bug fix: declare worker global vars in _p9k_init_varsromkatv2020-01-261-7/+0
|
* process ready replies from worker synchornously in precmdromkatv2020-01-251-0/+2
|
* delete fifo before killing worker from watchdogromkatv2020-01-251-2/+6
|
* trap PIPEromkatv2020-01-251-10/+10
|
* migrate over from the old worker api; use worker in battery on macOSromkatv2020-01-251-118/+63
|
* use ascii ENQ (0x05) for watchdog pingsromkatv2020-01-251-6/+3
|
* add watchdog to workerromkatv2020-01-251-6/+14
|
* massive worker simplification (figure out during massive hangover)romkatv2020-01-241-101/+31
|
* synthesize common prompt functionsromkatv2020-01-211-8/+18
|
* refactor worker coderomkatv2020-01-201-51/+47
|
* work around wsl bugsromkatv2020-01-191-3/+5
|
* explicit exec in workerromkatv2020-01-191-2/+2
|
* load the same modules and functions in worker as in masterromkatv2020-01-191-1/+11
|
* even further simplify worker bootstrapromkatv2020-01-191-14/+17
|
* further simplify worker bootstrapromkatv2020-01-191-5/+6
|
* simplify worker bootstrapromkatv2020-01-191-47/+56
|
* migrate disk_usage and public_ip to workerromkatv2020-01-181-7/+31
|
* remove explicit timeout support from workerromkatv2020-01-181-77/+47
|
* support parallelism in workerromkatv2020-01-181-73/+141
|
* cleanupromkatv2020-01-171-0/+1
|
* cleanupromkatv2020-01-171-5/+5
|
* add worker.zshromkatv2020-01-171-0/+278