This commit is contained in:
@@ -18,7 +18,8 @@ all: # keys must be unique, i.e. only one 'hosts' per group
|
|||||||
#gpu-visor.guaranteedstruggle.host:
|
#gpu-visor.guaranteedstruggle.host:
|
||||||
lxc: # keys must be unique, i.e. only one 'hosts' per group
|
lxc: # keys must be unique, i.e. only one 'hosts' per group
|
||||||
hosts:
|
hosts:
|
||||||
seafile.guaranteedstruggle.host:
|
atuin.guaranteedstruggle.host:
|
||||||
|
#seafile.guaranteedstruggle.host:
|
||||||
#victorialogs.guaranteedstruggle.host:
|
#victorialogs.guaranteedstruggle.host:
|
||||||
# speaking-slut.guaranteedstruggle.host:
|
# speaking-slut.guaranteedstruggle.host:
|
||||||
#proxcenter.guaranteedstruggle.host:
|
#proxcenter.guaranteedstruggle.host:
|
||||||
|
|||||||
0
files/.p10k.zsh
Normal file
0
files/.p10k.zsh
Normal file
0
playbooks/zsh.yml
Normal file
0
playbooks/zsh.yml
Normal file
23
templates/.zshrc.j2
Normal file
23
templates/.zshrc.j2
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user