Closed Arrow-x closed 2 years ago
A duplicate of #612
@mafredri is there any option to completely disable async workers along with a complex git functional?
@Arrow-x the reason it works even if you kill it is that a new one is started up. It's part of what allows Pure to do background processing (like git fetch and status).
@ivan-volnov No, there is no way to disable it. It's the main feature of Pure so it doesn't really make sense to make it an option.
Just look at how simple pure.zsh
was before all the async functionality: https://github.com/sindresorhus/pure/blob/b76a0efe742775b7efeb4f262ca86d6d05163797/pure.zsh
Thanks for the hint!)
Forked it to remove async functionality.
General information
System report (output of
prompt_pure_system_report
):''
❯
1.20.1
1.8.4
typeset -g PROMPT=$'%F{${prompt_pure_colors[path]}}%~%f %F{$prompt_pure_colors[execution_time]}${prompt_pure_cmd_exec_time}%f %}%(12V.%F{$prompt_pure_colors[virtualenv]}%12v%f .)%(?.%F{$prompt_pure_colors[prompt:success]}.%F{$prompt_pure_colors[prompt:error]})${prompt_pure_state[prompt]}%f '
typeset -g -A prompt_pure_colors=( [execution_time]=yellow [git:action]=yellow [git:arrow]=cyan [git:branch]=242 [git:branch:cached]=red [git:dirty]=218 [git:stash]=cyan [host]=242 [path]=blue [prompt:continuation]=242 [prompt:error]=red [prompt:success]=magenta [suspended_jobs]=red [user]=242 [user:root]=default [virtualenv]=242 )
export TERM=xterm-kitty
export VIRTUAL_ENV_DISABLE_PROMPT=12
export CONDA_CHANGEPS1=no
Other information
I have:
Problem description
for every application that runs under zsh has another zsh porcess as a sibling that can be killed just fine
Reproduction steps
My
.zshrc
:fpath+=$HOME/.zsh/pure autoload -U promptinit; promptinit prompt pure