Преглед на файлове

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