dotfiles/roles/antidote/tasks/configuration.yml

17 lines
460 B
YAML
Raw Permalink Normal View History

---
# Configuring zsh bundles
- name: Assuring the conf.d folder exists
ansible.builtin.file:
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zsh/conf.d"
state: directory
mode: '0755'
- name: Building lazy-loading list
ansible.builtin.shell: >-
source ~/.zsh/antidote/antidote.zsh;
antidote bundle < {{ dotfdir }}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antidote.zsh
args:
executable: /usr/bin/zsh
changed_when: true