summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--config/gitconfig6
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f7831c1..0079c4e 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ BASHRC=$(HOME)/.bashrc
ZSHRC=$(HOME)/.zshrc
ZPROFILE=$(HOME)/.zprofile
BASHPROFILE=$(HOME)/.bash_profile
+GITCONFIG=$(HOME)/.gitconfig
COPY=cp -r
LINK=ln -sf
@@ -32,9 +33,14 @@ config:
$(COPY) config/x11 $(CONFDIR)
$(COPY) config/zathura $(CONFDIR)
$(COPY) config/mimeapps.list $(CONFDIR)
+
$(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE)
$(LINK) $(CONFDIR)/shell/profile $(ZPROFILE)
+git:
+ $(COPY) config/gitconfig $(GITCONFIG)
+
+
scripts:
mkdir -p $(BINDIR)
$(COPY) scripts/* $(BINDIR)
diff --git a/config/gitconfig b/config/gitconfig
new file mode 100644
index 0000000..a3c04e5
--- /dev/null
+++ b/config/gitconfig
@@ -0,0 +1,6 @@
+[init]
+ defaultBranch = master
+[pager]
+ branch = false
+[alias]
+ pushall = !git remote | xargs -L1 git push --all