2020-02-01 10:15:22 +00:00
|
|
|
[user]
|
2020-07-23 10:25:46 +00:00
|
|
|
email = marty.oehme@gmail.com
|
|
|
|
name = Marty Oehme
|
2022-10-08 15:49:00 +00:00
|
|
|
signingkey = 73BA40D5AFAF49C9
|
2021-03-14 12:02:47 +00:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
Add basic XDG compliant sh architecture
The only file left in $HOME is .zshenv, which sets up zsh to source everything from XDG_CONFIG_HOME/zsh.
Shell files are split into sh and zsh directories, for global assignments (which should be posix compliant, work on any posix shell) like environemnt variables, xdg vars, and global aliases. zsh contains zsh specific customization (prompt customization, plugin loading, zsh completions).
Zsh initialization will pull from sh directory first, loading the respective mirror to its startup file (`.zprofile` loads `sh/profile` and `profile.d/*`, `.zshenv` loads `sh/env` and `sh/env.d/*` and `zsh/env.d/*`, `.zshrc` loads `sh/alias`, `sh/alias.d/*` and `zsh/alias.d/*`)
Once all is done, it will have loaded both global variables, aliases and settings, and zsh-only specifications. Other stow modules, if they want to add shell functionality, can include their aliases and functions in one of the above directories to automatically be picked up by zsh.
2020-02-02 15:08:40 +00:00
|
|
|
[alias]
|
2020-05-28 11:29:49 +00:00
|
|
|
ignore = "!gitignore -f"
|
2021-03-14 12:02:47 +00:00
|
|
|
pushmerge = "push -o merge_request.merge_when_pipeline_succeeds" # see https://docs.gitlab.com/ce/user/project/push_options.html # merge-when-pipeline-succeeds-alias
|
2020-07-23 10:25:46 +00:00
|
|
|
last = "diff HEAD~ HEAD"
|
2021-03-14 12:02:47 +00:00
|
|
|
pushall = "!git remote | xargs -I R git push R" # push to all connected remotes
|
2022-11-04 14:14:54 +00:00
|
|
|
fetchall = "!git remote | xargs -I R git fetch R" # fetch from all connected remotes
|
2021-03-14 12:02:47 +00:00
|
|
|
|
2020-05-25 15:36:27 +00:00
|
|
|
[commit]
|
2021-03-14 12:02:47 +00:00
|
|
|
gpgsign = true # sign commits as me
|
|
|
|
verbose = true # Always show diff when preparing commit message
|
2020-05-25 15:36:27 +00:00
|
|
|
[fetch]
|
2021-03-14 12:02:47 +00:00
|
|
|
prune = true # remove references to non-existent remote branches
|
2020-05-25 15:36:27 +00:00
|
|
|
[pull]
|
2021-03-14 12:02:47 +00:00
|
|
|
rebase = true # always rebase on pulling, obviates merge commits
|
2020-05-25 15:36:27 +00:00
|
|
|
[diff]
|
2021-03-14 12:02:47 +00:00
|
|
|
colorMoved = zebra # also color stuff that has simply been moved, in a classy zebra-color
|
2020-05-28 11:35:57 +00:00
|
|
|
[pager]
|
|
|
|
diff = dsf | less --tabs=4 -RFXS --pattern '(^(Date|added|deleted|modified): |^diff --git )'
|
2020-05-28 11:29:49 +00:00
|
|
|
[color.diff]
|
|
|
|
meta = "9"
|
|
|
|
frag = "magenta bold"
|
|
|
|
commit = "yellow bold"
|
|
|
|
old = "red bold"
|
|
|
|
new = "green bold"
|
|
|
|
whitespace = "red reverse"
|
|
|
|
[color.diff-highlight]
|
|
|
|
oldNormal = "red bold"
|
|
|
|
oldHighlight = "red bold 52"
|
|
|
|
newNormal = "green bold"
|
|
|
|
newHighlight = "green bold 22"
|
2020-05-25 15:36:27 +00:00
|
|
|
[rebase]
|
2020-07-23 10:25:46 +00:00
|
|
|
autostash = true
|
|
|
|
autoSquash = true
|
2020-05-25 15:36:27 +00:00
|
|
|
# Make use of git urls for git{lab,hub}, but only do so for pushing
|
|
|
|
# since pulling will create troubles with some applications
|
2020-02-20 21:47:00 +00:00
|
|
|
[url "git@github.com:"]
|
2020-03-03 08:43:36 +00:00
|
|
|
pushInsteadOf = "https://github.com/"
|
2020-07-23 10:25:46 +00:00
|
|
|
pushInsteadOf = "http://github.com/"
|
|
|
|
pushInsteadOf = "gh:"
|
2020-02-20 21:47:00 +00:00
|
|
|
[url "git@gitlab.com:"]
|
2020-03-03 08:43:36 +00:00
|
|
|
pushInsteadOf = "https://gitlab.com"
|
2020-07-23 10:25:46 +00:00
|
|
|
pushInsteadOf = "http://gitlab.com"
|
2021-12-15 16:38:10 +00:00
|
|
|
[url "git@git.martyoeh.me:"]
|
|
|
|
pushInsteadOf = "https://git.martyoeh.me"
|
|
|
|
pushInsteadOf = "http://git.martyoeh.me"
|
|
|
|
pushInsteadOf = "git@martyoeh.me"
|
|
|
|
pullInsteadOf = "git@martyoeh.me"
|
2021-03-14 12:02:47 +00:00
|
|
|
[filter "lfs"]
|
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|