Explorar o código

Fix dotfiles deployment

Emmanuel Bouthenot %!s(int64=10) %!d(string=hai) anos
pai
achega
7d3bd0d61a
Modificáronse 1 ficheiros con 1 adicións e 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