Open lilHermit opened 5 months ago
I want to do the same. Did you find a solution to this?
Running chezmoi ignored
will list all the files that chezmoi ignores, which may help you debug your .chezmoiignore
file.
Was struggling with a similar issue. Essentially, the following does not work:
*
!a/b/**
You need
*
!a/
!a/b/**
What exactly are you trying to do?
I have the following layout for my tmux config
and plugins contains
I want add the whole tmux directory and the
tpm
plugin but ignore any future plugins as they will be installed bytpm
. That was it makes it more manageable.What have you tried so far?
I've added the following
~/.local/share/chezmoi/.chezmoiignore
Describe what you have tried so far.
Where else have you checked for solutions?
Output of any commands you've tried with
--verbose
flagThe output of the add looks ok to me all plugins except
tpm
ignored however themanaged
command shows no filesAdding files separately works
However I can't then add plugins (which I would expect to add the
tpm
folder) unless mt assumption is incorrectOutput of
chezmoi doctor
Additional context
BTW I love the project and it's been amazing to sync my systems and help would be appreciated.
What I was looking for was a way to
re-add
in future without having to manually choose what to add. For example