antigen icon indicating copy to clipboard operation
antigen copied to clipboard

antigen changes are lost even if antigen-apply

Open spider623 opened this issue 11 years ago • 3 comments

i have a huge issue with the latest version, older works fine on my other system, every changer i make is lost, it's like it can't write to .zshrc, no idea what to do, no logs since there are no errors, it just doesn't save the changes

spider623 avatar Nov 12 '15 02:11 spider623

Antigen doesn't writes to .zshrc. If you want to persist any changes made on an interactive session you HAVE to manually change .zshrc file.

Please take a look at the docs.

desyncr avatar Nov 12 '15 12:11 desyncr

in that case my sincere apologies but then wth there is a save function? makes no sense, anw all fixed now but i wish there was a 'write function' for it, maybe i will care in the summer and make one :p

spider623 avatar Nov 12 '15 15:11 spider623

There is no save function. Sounds like a nice addition but I'm not sure how that could be implemented. This is because antigen is configured at run-time from any .*rc (ie, .zshrc, .zprofile etc etc) which may contain other configurations, aliases, etc. so we can not just manipulate a rc file at our will.

If you have an idea how that may be implemented please open an issue and let's see how that can be added.

desyncr avatar Nov 12 '15 15:11 desyncr