Tasks to set up ZSH
This commit is contained in:
parent
c664ca3b9d
commit
916086b743
1 changed files with 25 additions and 0 deletions
25
Ansible/roles/dotfiles/tasks/zsh.yml
Normal file
25
Ansible/roles/dotfiles/tasks/zsh.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
- name: (ZSH) Link startup files
|
||||
ansible.builtin.file:
|
||||
path: ~/.{{ item }}
|
||||
src: "{{ role_path }}/files/zsh/{{ item }}"
|
||||
state: link
|
||||
force: true
|
||||
loop:
|
||||
- zshenv
|
||||
- zshrc
|
||||
- zprofile
|
||||
|
||||
- name: (ZSH) Link env functions
|
||||
ansible.builtin.file:
|
||||
path: ~/.zsh/init-env-functions
|
||||
src: "{{ role_path }}/files/zsh/init-env-functions"
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: (ZSH) Link rc functions
|
||||
ansible.builtin.file:
|
||||
path: ~/.zsh/init-rc-functions
|
||||
src: "{{ role_path }}/files/zsh/init-rc-functions"
|
||||
state: link
|
||||
force: true
|
Loading…
Add table
Add a link
Reference in a new issue