gantsign / ansible_role_antigen

Ansible role for installing the Antigen and using it to configure Zsh
https://galaxy.ansible.com/gantsign/antigen
MIT License
27 stars 16 forks source link

Add antigen reset command to .antigenrc #51

Closed marcellmartini closed 2 years ago

marcellmartini commented 2 years ago

The antigen_theme will not reload if the cache wasn't reset

Tested on ubuntu 20.04.3 LTS

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

freemanjp commented 2 years ago

@marcellmartini thanks for raising this pull request. Unfortunately, as it's written it would run antigen reset every time you open a shell. This would lead to poor performance as it is used to "Clean the generated cache.". You could argue it should be run in tasks/configure.yml (to run as part of the Ansible provisioning), though it may be easier to delete the cache using Ansible file module instead.