Fix: remove copy .zshrc but fix zsh directory

This commit is contained in:
Bertrand Benjamin 2021-07-08 10:32:21 +02:00
parent 5148fa3236
commit ce2f3b872e
1 changed files with 2 additions and 13 deletions

View File

@ -20,10 +20,10 @@
# ZSH
- name: dotiles -- create and copy .config/zsh directory
copy:
src: files/dotfiles/zsh
src: files/dotfiles/zsh/
dest: /home/{{ item.username }}/.config/zsh/
owner: "{{ item.username }}"
mode: '0755'
group: "{{ item.group }}"
with_items: "{{ dotusers }}"
when: prompt == 'zsh'
@ -36,15 +36,6 @@
with_items: "{{ dotusers }}"
when: prompt == 'zsh'
- name: dotfiles -- Copy local zshrc
template:
src: files/dotfiles/zsh/.zshrc
dest: /home/{{ item.username }}/.config/zsh/.zshrc
owner: "{{ item.username }}"
group: "{{ item.group }}"
with_items: "{{ dotusers }}"
when: prompt == 'zsh'
- name: dotiles -- clone zsh syntax-hightlighting
git:
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
@ -63,8 +54,6 @@
git:
repo: https://github.com/zsh-users/zsh-history-substring-search
dest: /home/{{ item.username }}/.config/zsh/zsh-history-substring-search
owner: "{{ item.username }}"
group: "{{ item.group }}"
with_items: "{{ dotusers }}"
when: prompt == 'zsh'