diff --git a/.local/share/dotfiles/install_dev_tools.yml b/.local/share/dotfiles/install_dev_tools.yml index 221eac4..5a49980 100644 --- a/.local/share/dotfiles/install_dev_tools.yml +++ b/.local/share/dotfiles/install_dev_tools.yml @@ -24,4 +24,10 @@ - gcc state: present become: true - when: ansible_facts['os_family'] == "Archlinux" + when: ansible_facts['os_family'] == "Archlinuxs" + + - name: Ensure dotfiles alias exists in .zshrc + ansible.builtin.lineinfile: + path: "{{ ansible_env.HOME }}/.zshrc" + line: "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" + create: yes