handle symlink when removing chezmoi
This commit is contained in:
parent
91526079fc
commit
3d28ac9260
5 changed files with 12 additions and 5 deletions
|
|
@ -5,3 +5,4 @@
|
|||
|
||||
[data]
|
||||
osid = {{ $osid | quote }}
|
||||
persistent = {{ promptBoolOnce . "persistent" "keep chezmoi?" true }}
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
**/original_*
|
||||
.config/lazygit/state.yml
|
||||
4
chezmoi/.chezmoiignore.tmpl
Normal file
4
chezmoi/.chezmoiignore.tmpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{- if .persistent }}
|
||||
**/original_*
|
||||
{{ end }}
|
||||
.config/lazygit/state.yml
|
||||
|
|
@ -1,2 +1,6 @@
|
|||
{{ .chezmoi.sourceDir }}/dot_config/nvim/original_lazy-lock.json
|
||||
{{ if .persistent }}
|
||||
{{ .chezmoi.sourceDir }}/dot_config/nvim/original_lazy-lock.json
|
||||
{{ else }}
|
||||
{{ .chezmoi.homeDir }}/.config/nvim/original_lazy-lock.json
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue