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"
|
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/get-updates
|
||||||
bin/lock
|
bin/lock
|
||||||
.xinitrc
|
.xinitrc
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[credential]
|
[credential]
|
||||||
helper = cache
|
helper = cache
|
||||||
[core]
|
[core]
|
||||||
excludesfile = /home/daylin/.config/git/ignore
|
excludesfile = /home/{{- .chezmoi.username -}}/.config/git/ignore
|
||||||
[user]
|
[user]
|
||||||
name = Daylin Morgan
|
name = {{ .name }}
|
||||||
email = daylinmorgan@gmail.com
|
email = {{ .email }}
|
||||||
[submodule]
|
[submodule]
|
||||||
recurse = true
|
recurse = true
|
||||||
[pull]
|
[pull]
|
Loading…
Reference in a new issue