Skip to content

Using antigen with chezmoi. #2009

Answered by twpayne
Noahyt asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not familiar with antigen (I use vim-plug) but I would expect antigen and chezmoi externals to conflict if you attempt to use both simultaneously. If antigen updates files managed by chezmoi then chezmoi will detect that the file has been modified since chezmoi last wrote it and you will get a prompt the next time you use chezmoi to update the file. This is prevent chezmoi from blindingly overwriting any local changes that you might want to keep.

I would suggest the following approaches:

  1. Either, use a chezmoi external to install antigen and then use antigen to manage your zsh plugins, as HHousen has done.
  2. Or, use chezmoi externals for all zsh plugins, and don't use antigen at all.
    Bo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Noahyt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants