diff --git a/playbooks/software/zsh/user_tasks.yml b/playbooks/software/zsh/user_tasks.yml index 282ad5d..2161614 100644 --- a/playbooks/software/zsh/user_tasks.yml +++ b/playbooks/software/zsh/user_tasks.yml @@ -114,3 +114,10 @@ group: "{{ current_user }}" mode: '0644' tags: [deploy, update] + +- name: "[{{ current_user }}] Предзагрузка бинарника gitstatusd (убирает тормоза при первом входе)" + command: "{{ user_home }}/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install" + args: + creates: "{{ user_home }}/.cache/gitstatus/gitstatusd-linux-x86_64" # таска пропустится, если бинарник уже на месте + become_user: "{{ current_user }}" + tags: [deploy, update] \ No newline at end of file diff --git a/templates/.zshrc.j2 b/templates/.zshrc.j2 index ad08926..dcacc5f 100644 --- a/templates/.zshrc.j2 +++ b/templates/.zshrc.j2 @@ -1,6 +1,3 @@ -# Отключаем технический вывод p10k (скрывает сообщения о скачивании gitstatusd) -typeset -g POWERLEVEL9K_GITSTATUS_QUIET=true - # 1. Instant Prompt (ускоряет отрисовку p10k) if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"