paulbsd-salt/states/zsh/config.sls
2020-09-24 00:34:19 +02:00

28 lines
625 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-profile:
file.managed:
- name: /usr/share/zsh/zprofile
- source: salt://zsh/zprofile.j2
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: zsh-pkg