diff --git a/environments/just-created/hosts.yml b/environments/just-created/hosts.yml index e4b6135..e64fe1e 100644 --- a/environments/just-created/hosts.yml +++ b/environments/just-created/hosts.yml @@ -18,7 +18,8 @@ all: # keys must be unique, i.e. only one 'hosts' per group #gpu-visor.guaranteedstruggle.host: lxc: # keys must be unique, i.e. only one 'hosts' per group hosts: - seafile.guaranteedstruggle.host: + atuin.guaranteedstruggle.host: + #seafile.guaranteedstruggle.host: #victorialogs.guaranteedstruggle.host: # speaking-slut.guaranteedstruggle.host: #proxcenter.guaranteedstruggle.host: diff --git a/files/.p10k.zsh b/files/.p10k.zsh new file mode 100644 index 0000000..e69de29 diff --git a/playbooks/zsh.yml b/playbooks/zsh.yml new file mode 100644 index 0000000..e69de29 diff --git a/templates/.zshrc.j2 b/templates/.zshrc.j2 new file mode 100644 index 0000000..990b4d6 --- /dev/null +++ b/templates/.zshrc.j2 @@ -0,0 +1,23 @@ +# Включаем 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" +fi + +# Путь к Oh My Zsh (Ansible сам подставит правильный хоум во время раскатки) +export ZSH="{{ user_home }}/.oh-my-zsh" + +# Указываем тему оформления +ZSH_THEME="powerlevel10k/powerlevel10k" + +# Твой список плагинов из Puppet-класса +plugins=( + git + zsh-syntax-highlighting + zsh-autosuggestions +) + +# Запуск Oh My Zsh +source $ZSH/oh-my-zsh.sh + +# Загрузка готового конфига p10k (если он есть), чтобы пропустить интерактивный опрос +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh