commit 7bbee0ec8c0fd0e4a6c12b2173618eadd07d8c8a
parent bd3380610336bc4e7b807118b116784d2704671c
Author: Mark Feller <mark@getsunday.com>
Date: Thu, 16 Dec 2021 20:11:50 -0700
setup git config for macos and linux
Diffstat:
3 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/dots/.config/git/config b/dots/.config/git/config.linux
diff --git a/dots/.config/git/config.macos b/dots/.config/git/config.macos
@@ -0,0 +1,25 @@
+[user]
+ name = Mark Feller
+ email = mark@getsunday.com
+ signingkey = 95189B138B01C10DC955396A5AB4584E9FF44D46
+
+[url "ssh://git@github.com/"]
+ insteadOf = https://github.com/
+
+[commit]
+ gpgsign = true
+
+[gpg]
+ program = gpg
+
+[tag]
+ forceSignAnnotated = true
+
+[filter "lfs"]
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ required = true
+
+[github]
+ user = mjf-sunday
+\ No newline at end of file
diff --git a/install b/install
@@ -12,7 +12,6 @@ shared()
{
# Dotfiles used on all operating systems
copy dots/.config/emacs $HOME/.config
- copy dots/.config/git $HOME/.config
copy dots/.config/lf $HOME/.config
copy dots/.config/zsh $HOME/.config
copy dots/.config/aliasrc $HOME/.config
@@ -23,8 +22,10 @@ shared()
linux()
{
# Linux specific dotfiles
+ copy dots/.ssh/config $HOME/.ssh
copy dots/.config/compton $HOME/.config
copy dots/.config/dunst $HOME/.config
+ copy dots/.config/git/config.linux $HOME/.config/git/config
copy dots/.config/mpd $HOME/.config
copy dots/.config/ncmpcpp $HOME/.config
copy dots/.config/notmuch $HOME/.config
@@ -39,6 +40,7 @@ macos()
{
# macOS specific dotfiles
copy dots/.config/alacritty $HOME/.config
+ copy dots/.config/git/config.macos $HOME/.config/git/config
copy dots/.zshenv $HOME
copy dots/.local/share/gnupg/*.macos $HOME/.local/share/gnupg
}