oh-my-zsh/tasks/enable-plugins.yml

11 lines
358 B
YAML
Raw Permalink Normal View History

2022-05-02 10:33:16 +02:00
---
- 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)"