paulbsd-salt/states/zsh/config.sls
2023-01-04 23:36:02 +01:00

32 lines
674 B
Plaintext

---
zsh-omz-repo:
git.latest:
- name: https://github.com/robbyrussell/oh-my-zsh.git
- target: /usr/share/oh-my-zsh
- branch: master
- require:
- pkg: zsh-pkg
zsh-autosuggestions-repo:
git.latest:
- name: https://github.com/zsh-users/zsh-autosuggestions.git
- target: /usr/share/oh-my-zsh/plugins/zsh-autosuggestions
- branch: master
- require:
- pkg: zsh-pkg
zsh-omz-env-old:
file.absent:
- name: /etc/zsh/zprofile
zsh-omz-env:
file.managed:
- name: /etc/zsh/zshenv
- source: salt://zsh/zshenv.j2
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: zsh-pkg