commit e5df531efd9842476ee08aaa03ba80ee58d6cfcf (patch)
parent c948694716079be15688d937139961472d417118
Author: Alex Karle <alex@karle.co>
Date: Mon, 14 Oct 2019 00:31:05 -0400
git: check in config, migrate to XDG_CONFIG_HOME
This commit:
1. Checks in my git-config. This is nice because it should save me
setup time on new machines. Also, I just went through pain
setting up sendemail and don't want to have to lookup which port
fastmail uses ever again :)
2. Migrates the "global_ignore" file to just the
XDG_CONFIG_HOME/ignore . Didn't know this was a thing before!
Diffstat:
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.dotfiler.json b/.dotfiler.json
@@ -2,7 +2,6 @@
"HOME_DOTS": [
"bash",
"gdb",
- "git",
"perl",
"screen",
"tmux",
@@ -12,7 +11,8 @@
"XDG_DOTS": [
"alacritty",
"mutt",
- "nvim"
+ "nvim",
+ "git"
],
"SKIP_FILES": [
"cpanfile",
diff --git a/git/config b/git/config
@@ -0,0 +1,13 @@
+[core]
+ editor = $EDITOR
+
+[user]
+ email = alex@karle.co
+ name = Alex Karle
+
+[sendemail]
+ smtpserver = smtp.fastmail.com
+ smtpuser = alex@karle.co
+ smtpencryption = tls
+ smtpserverport = 587
+ annotate = yes
diff --git a/git/global_gitignore b/git/ignore