oh-my-zsh/tasks/enable-plugins.yml
2022-05-02 10:33:16 +02:00

11 lines
358 B
YAML

---
- name: enable plugins
replace:
path: "{{ oh_my_zsh_install_folder }}/.zshrc"
regexp: "^plugins=\\(((.|\n)*)\\)"
replace: "plugins=(\n {{ enable_plugins | join('\n ') }}\n)"
- name: enable plugins
replace:
path: "/etc/skel/.zshrc"
regexp: "^plugins=\\(((.|\n)*)\\)"
replace: "plugins=(\n {{ enable_plugins | join('\n ') }}\n)"