mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 18:29:50 +00:00
fix(git): disable temporarely async prompt
This commit is contained in:
@@ -38,7 +38,7 @@ function _omz_git_prompt_status() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Enable async prompt by default unless the setting is at false / no
|
# Enable async prompt by default unless the setting is at false / no
|
||||||
if zstyle -T ':omz:alpha:lib:git' async-prompt; then
|
if zstyle -t ':omz:alpha:lib:git' async-prompt; then
|
||||||
function git_prompt_info() {
|
function git_prompt_info() {
|
||||||
_omz_register_handler _omz_git_prompt_status
|
_omz_register_handler _omz_git_prompt_status
|
||||||
if [[ -n "$_OMZ_ASYNC_OUTPUT[_omz_git_prompt_status]" ]]; then
|
if [[ -n "$_OMZ_ASYNC_OUTPUT[_omz_git_prompt_status]" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user