Minor change
This commit is contained in:
parent
9b9b751173
commit
eea680cf80
1 changed files with 12 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
- zsh-syntax-highlighting
|
||||
when: ansible_facts['distribution'] == 'Archlinux'
|
||||
|
||||
- name: Install bash-completion (Debian)
|
||||
- name: Install zsh packages (Debian)
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
|
@ -22,7 +22,11 @@
|
|||
when: ansible_facts['distribution'] == 'Debian'
|
||||
|
||||
- name: Copy files
|
||||
ansible.builtin.copy: src={{ item.src }} dest={{ item.dest }} backup=true mode=0644
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
backup: true
|
||||
mode: 0644
|
||||
with_items:
|
||||
- {src: 'zshrc', dest: '~/.zshrc'}
|
||||
- {src: 'zshenv', dest: '~/.zshenv'}
|
||||
|
@ -30,7 +34,12 @@
|
|||
- {src: 'p10k.zsh', dest: '~/.p10k.zsh'}
|
||||
|
||||
- name: Clone repos
|
||||
ansible.builtin.git: repo={{ item.repo }} dest={{ item.dest }} clone=true version={{ item.version }} update=false
|
||||
ansible.builtin.git:
|
||||
repo: "{{ item.repo }}"
|
||||
dest: "{{ item.dest }}"
|
||||
clone: true
|
||||
version: "{{ item.version }}"
|
||||
update: false
|
||||
with_items:
|
||||
- {repo: 'https://github.com/softmoth/zsh-vim-mode.git', dest: '~/.git_clones/zsh-vim-mode', version: 'main'}
|
||||
- {repo: 'https://github.com/zsh-users/zsh-autosuggestions.git', dest: '~/.git_clones/zsh-autosuggestions', version: 'master'}
|
||||
|
|
Loading…
Add table
Reference in a new issue