Spring clean up

Quite a few updates to leverage GNU `stow` and reduce the manual efforts
in the install script. Localized my `[n]vim` color scheme of choice
since it hasn't been updated in years. Also updated the installer to
pull from remote instead of completely removing itself if it's already
present.

Contemplating moving to using some plugin managers for `zsh` and
`[n]vim` to help reduce the install size a bit more, and to provide a
bit more flexibility for anybody else running this.
This commit is contained in:
Josh Sherman 2022-02-27 12:13:51 -06:00
parent 5d3dc5c568
commit 1ebbbcb8cd
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
12 changed files with 353 additions and 34 deletions

48
git/.gitconfig Normal file
View file

@ -0,0 +1,48 @@
[user]
name = Josh Sherman
email = joshsherman@gmail.com
[github]
user = joshtronic
[credential]
helper = cache --timeout=86400
[color]
branch = auto
diff = auto
status = auto
[core]
editor = vim
[diff]
compactionHeuristic = true
rename = copy
check = true
[pager]
color = true
[init]
defaultBranch = main
[push]
default = simple
[pull]
rebase = true
[commit]
gpgsign = true
template = ~/.gitmessage
verbose = true
[help]
autocorrect = 1
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

21
git/.gitmessage Normal file
View file

@ -0,0 +1,21 @@
# <type>(<scope>): <subject>
#
# <body>
#
# <footer>
#
# The header is mandatory and the scope of the header is optional.
# Types: build, ci, docs, feat, fix, perf, refactor, style, test
#
# Wrap longer lines to 72 characters.
# The body should answer:
#
# * What problem is being solved?
# * What is the solution to said problem?
# * Are there any side effects or dependencies?
#
# The footer should contain a closing reference or issue link, if any.
#
# ---------------------------------------------------------------------