소스 검색

Fix dotfiles deployment

Emmanuel Bouthenot 10 년 전
부모
커밋
7d3bd0d61a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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