Emmanuel Bouthenot 10 жил өмнө
parent
commit
7d3bd0d61a

+ 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