viasite-ansible / ansible-role-zsh

Setup antigen with oh-my-zsh, powerlevel10k theme, fzf, autosuggestions, syntax-highlighting
https://habrahabr.ru/post/323496/
MIT License
347 stars 85 forks source link

parameterized template file #28

Closed b6pzeusbc54tvhw5jgpyw8pwz2x6gs closed 6 years ago

b6pzeusbc54tvhw5jgpyw8pwz2x6gs commented 6 years ago

zshrc.j2 is hard coded in tasks/configure.yml.

But I want to use my custom template to use as below for blockinfile.

# BEGIN MY CUSTOM FASD SETTING
# END MY CUSTOM FASD SETTING

Could I create a PR?

popstas commented 6 years ago

You can append your config to ~/.zshrc.local, without ansible. If you need to replace something in zshrc.j2, then welcome to PR )

I'm also use similar variable in other role for provision speedup and simple zsh environment.