install.sh 313 B

12345678910111213
  1. #!/bin/sh
  2. cd || exit
  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. # create vim state folders
  10. mkdir -p .cache/vim/undo
  11. mkdir -p .cache/vim/swap
  12. mkdir -p .cache/vim/backup