paulbsd-salt/states/zsh/config.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

32 lines
684 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/templates/zshenv.j2
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: zsh-pkg