You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install 307B

123456789101112131415161718192021
  1. #! /usr/bin/env bash
  2. dir="$(dirname $(readlink -f "${0}"))"
  3. if [ -d ~/.vim ]
  4. then
  5. mv ~/.vim ~/.vim.old
  6. fi &&
  7. ln -sf "${dir}/vim" ~/.vim &&
  8. if [ -f ~/.vimrc ]
  9. then
  10. mv ~/.vimrc ~/.vimrc.old
  11. fi &&
  12. ln -sf "${dir}/vimrc" ~/.vimrc &&
  13. (
  14. cd "${dir}/.." &&
  15. git submodule init &&
  16. git submodule update
  17. )