Explorar el Código

Fix dotfiles deployment

Emmanuel Bouthenot hace 10 años
padre
commit
7d3bd0d61a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      roles/common/tasks/dotfiles.yml

+ 1 - 1
roles/common/tasks/dotfiles.yml

@@ -3,5 +3,5 @@
   when: with_dotfiles
 
 - name: Enable sourcing of dotfiles
-  lineinfile: dest=/etc/zsh/zshrc regexp='source .* {{ dotfiles_dest }}' line='[[ -f {{ dotfiles_dest }}/zsh/zshrc ]] && source {{ dotfiles_dest }}/zsh/zshrc'
+  lineinfile: dest=/etc/zsh/zshrc regexp='source {{ dotfiles_dest }}' line='[[ -f {{ dotfiles_dest }}/zsh/zshrc ]] && source {{ dotfiles_dest }}/zsh/zshrc'
   when: with_dotfiles