view dot_gitconfig.tmpl @ 876:8589883596fd

fix: remove pathdirs option to avoid slow path completions see: https://stackoverflow.com/questions/76746392/why-is-my-zsh-tab-completion-slow-on-commands-but-not-directories > Perform a path search even on command names with slashes in them. > Thus if ?/usr/local/bin? is in the user?s path, and he or she types ?X11/xinit?, the command ?/usr/local/bin/X11/xinit? will be executed (assuming it exists). > Commands explicitly beginning with ?/?, ?./? or ?../? are not subject to the path search. This also applies to the ?.? and source builtins.
author Zeger Van de Vannet <zeger@vandevan.net>
date Thu, 25 Apr 2024 10:05:40 +0200
parents 83bf3561016d
children
line wrap: on
line source

[user]
	email = {{ .email }}
	name = {{ .name }}
	signingkey = {{ .signingkey }}
[rebase]
	autosquash = true
	autostash = true
[commit]
{{- if ne .signingkey "" }}
	gpgsign = true
{{- end }}
	verbose = true
[pull]
	rebase = true
[gpg]
	program = gpg
[merge]
	tool = settle
[mergetool "settle"]
	cmd = "nvim -f $BASE $LOCAL $REMOTE $MERGED -c 'SettleInit'"
	trustExitCode = true
[alias]
	ls = log --format=\"%C(auto)%h %<(15)%C(auto, green)%cr %>(20)%C(auto, magenta)%an %C(auto)%s %D\"
	tags = tag -l --sort creatordate --column
[core]
	excludesfile = ~/.gitignore
	editor = hx
	autocrlf = input
	pager = less -+F
[help]
	autocorrect = 1
[color]
	diff = always
	status = always
	branch = always
	ui = true
{{- if eq .chezmoi.username "zvandeva" }}
[url "https://"]
	insteadOf = git://
{{- end }}
[rerere]
	enabled = 1
[filter "lfs"]
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
  process = git-lfs filter-process
  required = true
[include]
  path = ~/.gitconfig.local
[diff "gpg"]
  textconv = gpg --no-tty --decrypt