Tom McKenzie 7 år sedan
förälder
incheckning
d55d07ec4e
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. 2 0
      .gitconfig
  2. 2 2
      .rc.d/applications.sh

+ 2 - 0
.gitconfig

@@ -40,6 +40,7 @@
     edit-conflicted = ! git diff --name-only | uniq | xargs code
     history = log -p --
 	pushf = push --force-with-lease
+    pullall = ! git pull && git submodule update --init --recursive --remote
 
 [core]
 	editor = vim
@@ -49,6 +50,7 @@
 
 [merge]
 	tool = code
+	conflictstyle = diff3
 
 [push]
 	default = upstream

+ 2 - 2
.rc.d/applications.sh

@@ -5,8 +5,8 @@ if [ -d "${HOME}/.nvm" ]; then
 fi
 
 # export golang bin path
-if [ -d "~/go/bin" ]; then
-  export PATH=$PATH:~/go/bin
+if [ -d "$HOME/go/bin" ]; then
+  export PATH=$PATH:$HOME/go/bin
 fi
 
 # thefuck