Browse Source

Add install script

Thomas Dy 7 years ago
parent
commit
5b109fe705
2 changed files with 16 additions and 1 deletions
  1. 15 0
      .dotfiles/install.sh
  2. 1 1
      .gitmodules

+ 15 - 0
.dotfiles/install.sh

@@ -0,0 +1,15 @@
+#!/bin/sh
+cd
+export GIT_DIR="./.dotfiles"
+export GIT_WORK_TREE="."
+git init
+git remote add origin https://git.pleasantprogrammer.com/thatsmydoing/dotfiles.git
+git fetch
+git checkout -ft origin/master
+git submodule init
+git submodule update
+
+# create vim state folders
+mkdir -p .cache/vim/undo
+mkdir -p .cache/vim/swap
+mkdir -p .cache/vim/backup

+ 1 - 1
.gitmodules

@@ -1,3 +1,3 @@
 [submodule ".zsh/zplug"]
 	path = .zsh/zplug
-	url = git@github.com:zplug/zplug.git
+	url = https://github.com/zplug/zplug.git