dotfiles/roles/antidote/tasks/configuration.yml
2024-10-01 09:17:39 +02:00

17 lines
460 B
YAML

---
# 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