ohmyzsh/lib
Loïc Yhuel 42b22ecf7d fix(async): avoid blocking the shell while waiting
Due to "builtin echo $handler", _omz_async_callback was called immediately, as there was data to
read on the pipe. Then the shell was blocked until the end of the async prompt handler.
We now use associative array to get the handler name from the fd.

For an unknown reason, the async child can block when launching a subshell, especially if there are
several handlers registered.
Using a function to set the return code avoids the issue, and is much faster.

Fixes #12290
2024-03-25 23:37:15 +01:00
..
async_prompt.zsh fix(async): avoid blocking the shell while waiting 2024-03-25 23:37:15 +01:00
bzr.zsh Modification to the frisk theme to work with the BZR lib 2013-11-06 20:10:59 -02:00
cli.zsh docs: fix typos (#12284) 2024-03-14 23:07:39 +07:00
clipboard.zsh fix(clipboard): remove clippaste additional newline on wayland (#12140) 2023-12-31 11:17:37 +01:00
compfix.zsh compfix: fix check for empty string (#7674) 2019-03-21 20:35:00 +01:00
completion.zsh style(completion): remove extra space (#12206) 2024-02-08 15:41:34 +01:00
correction.zsh fix(correction)!: remove aliases for non standard commands 2023-02-15 09:23:04 +01:00
diagnostics.zsh style: use -n flag in head and tail commands (#10391) 2021-11-09 09:04:10 +01:00
directories.zsh feat(init)!: allow turning off aliases for libs and plugins (#11550) 2023-04-03 23:14:36 +02:00
functions.zsh fix(lib): patch omz_urlencode to not encode UTF-8 chars in Termux (#12076) 2023-12-06 08:09:45 +01:00
git.zsh fix(async): register the git prompt async handler correctly (#12267) 2024-03-09 18:29:53 +01:00
grep.zsh chore(lib): update deprecated grep aliases (#11161) 2022-10-03 17:59:49 +02:00
history.zsh Revert "lib: remove share_history" 2020-11-09 12:00:15 +01:00
key-bindings.zsh fix(key-bindings): bind default arrow keys to beginning-search 2024-02-12 09:48:38 +01:00
misc.zsh fix(misc): only set PAGER if less or more are available (#12060) 2023-11-27 11:07:51 +01:00
nvm.zsh fix(lib): quote % in nvm_prompt_info 2022-01-03 13:50:50 +01:00
prompt_info_functions.zsh fix(prompt): quote ruby prompt (#12195) 2024-02-03 22:50:44 +01:00
spectrum.zsh feat(spectrum): add FX[dim] format (#12172) 2024-01-21 05:25:50 +01:00
termsupport.zsh fix(termsupport): add workaround for directory tracking issues in Konsole 2023-10-19 23:24:55 +02:00
theme-and-appearance.zsh fix(theme-and-appearance): make bsd ls to be default 2023-05-09 12:05:15 +02:00
vcs_info.zsh fix(lib): fix return code after expected non-zero exit code (#11524) 2023-02-24 17:27:23 +01:00