chezmoi.nvim icon indicating copy to clipboard operation
chezmoi.nvim copied to clipboard

Chezmoi script support

Open kalocsaibotond opened this issue 2 months ago • 3 comments

I faced a case, where I was forced to use a chezmoi script. I had to duplicate a config file into multiple places because of the nature of the application. When I edited and saved its config file (using the recommended autocommand), I noticed that chezmoi.nvim did not run the config duplication script that chezmoi would run when chezmoi apply is called.

I do not know whether it is a bug or an intentional.

Sure that the problem can be solved via extending the autocommand to run the chezmoi scripts, but that can become quiclkly ugly, since chezmoi has rich scripting features. (I know my specific case can be solved relatively elegantly with a symlinking script as well.)

Would be it problematic to support chezmoi scripts?

kalocsaibotond avatar Apr 23 '24 15:04 kalocsaibotond