use chezmoi templates to generalize the dots
This commit is contained in:
parent
1a1c71e51c
commit
f636b53432
3 changed files with 16 additions and 4 deletions
|
@ -1 +1,13 @@
|
|||
sourceDir = "~/.dotfiles"
|
||||
|
||||
[diff]
|
||||
command = 'delta'
|
||||
|
||||
{{ $email := promptString "git email" -}}
|
||||
{{ $name := promptString "git name" -}}
|
||||
{{ $gui := promptBool "use gui configs?" -}}
|
||||
[data]
|
||||
email = {{ $email | quote }}
|
||||
name = {{ $name | quote }}
|
||||
gui = {{ $gui }}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- if ne .chezmoi.hostname "thinkpad" }}
|
||||
{{- if (not .gui) }}
|
||||
bin/get-updates
|
||||
bin/lock
|
||||
.xinitrc
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[credential]
|
||||
helper = cache
|
||||
[core]
|
||||
excludesfile = /home/daylin/.config/git/ignore
|
||||
excludesfile = /home/{{- .chezmoi.username -}}/.config/git/ignore
|
||||
[user]
|
||||
name = Daylin Morgan
|
||||
email = daylinmorgan@gmail.com
|
||||
name = {{ .name }}
|
||||
email = {{ .email }}
|
||||
[submodule]
|
||||
recurse = true
|
||||
[pull]
|
Loading…
Reference in a new issue