summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2021-02-20 18:45:56 +0100
committerTom Barrett <tom@tombarrett.xyz>2021-02-20 18:45:56 +0100
commit7616f34a34e7ad054ede1f97468aa85437b6c620 (patch)
tree288c5a4484ebe34ccf2d6ae2ae252b2cd65a1e4f
parent987c9ed77f4541b7c0a320e50665437bee01ffae (diff)
better way to do settings
-rw-r--r--.gitconfig5
-rwxr-xr-xbuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..33d3887
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,5 @@
+[user]
+ name = Tom Barrett
+ email = tom@tombarrett.xyz
+[pull]
+ rebase = false
diff --git a/build b/build
index eabbde2..b6f0ec7 100755
--- a/build
+++ b/build
@@ -3,10 +3,6 @@
# var setup
RC_DIR=$HOME'/src/rc'
-# git setup
-git config --global user.name "Tom Barrett"
-git config --global user.email "tom@tombarrett.xyz"
-
# bin directory
mkdir $HOME/bin
@@ -62,6 +58,9 @@ ln -s $RC_DIR'/.xinitrc' $HOME
# autostart script
ln -s $RC_DIR'/.autostart' $HOME
+# git setup
+ln -s $RC_DIR'/.gitconfig' $HOME
+
# neomutt setup
ln -s $RC_DIR'/.muttrc' $HOME
ln -s $RC_DIR'/.mailcap' $HOME