Your one-stop-cake-shop for everything Freshly Baked has to offer

fix(pm/minion/p10k): fix async worker restarting

Previously we were using a subshell to group our commands, which can't
be used to run an async worker as the async worker is tied to a shell.
Instead, we should be using a command group. We also need to silence
errors on the first job invocation or it'll still print out

Changed files
+1 -1
packetmix
homes
minion
zsh
+1 -1
packetmix/homes/minion/zsh/p10k.zsh
··· 1864 1864 typeset -g p10k_jj_status_stale=1 p10k_jj_status_updated= 1865 1865 p10k segment -f grey -c '$p10k_jj_status_stale' -e -t '$p10k_jj_status' 1866 1866 p10k segment -c '$p10k_jj_status_updated' -e -t '$p10k_jj_status' 1867 - async_job jj_status_worker jj_status $PWD || (register_async_worker && async_job jj_status_worker jj_status $PWD) 1867 + async_job jj_status_worker jj_status $PWD 2>/dev/null || { register_async_worker; async_job jj_status_worker jj_status $PWD } 1868 1868 } 1869 1869 1870 1870 # Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt