---
# Installing antidote.

- name: Creating destination folder
  ansible.builtin.file:
    dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zsh/antidote"
    state: directory
    mode: '0755'

- name: Installing antidote with git
  # noqa: latest[git]
  ansible.builtin.git:
    repo: "https://github.com/mattmc3/antidote.git"
    dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.zsh/antidote"
    depth: 1