install.sh 345 B

123456789101112131415
  1. #!/bin/sh
  2. cd
  3. export GIT_DIR="./.dotfiles"
  4. export GIT_WORK_TREE="."
  5. git init
  6. git remote add origin https://git.pleasantprogrammer.com/thatsmydoing/dotfiles.git
  7. git fetch
  8. git checkout -ft origin/master
  9. git submodule init
  10. git submodule update
  11. # create vim state folders
  12. mkdir -p .cache/vim/undo
  13. mkdir -p .cache/vim/swap
  14. mkdir -p .cache/vim/backup