sindresorhus / pure

Pretty, minimal and fast ZSH prompt
MIT License
13.12k stars 971 forks source link

Tmux sessions spew async_worker_eval and async_job error messages #639

Open WorLord opened 2 years ago

WorLord commented 2 years ago

General information

System report (output of prompt_pure_system_report):

I have:

Problem description

When running or in a Tmux, I see the following messages after every command:

async_worker_eval: no such async worker: prompt_pure
async_job: no such async worker: prompt_pure

This only happens in a Tmux.

Reproduction steps

  1. Use Pure prompt
  2. Type "tmux"
  3. Witness messages

My .zshrc:

fpath+=("$HOME"/.zsh/pure) autoload -U promptinit; promptinit prompt pure

maxdiebold commented 1 year ago

I'm getting these messages in multiple cases. Initially, they only appeared when entering nix-shell and tmux, but after a reboot (with no other change), they are appearing constantly and the git info is gone. So I don't think this is tmux-specific.