Created
December 5, 2012 16:54
-
-
Save 3100/4217373 to your computer and use it in GitHub Desktop.
chmod +x ./create_symlink.sh && ./create_symlink.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd $(dirname $0) | |
git submodule init | |
git submodule foreach 'git pull origin master' | |
for dotfile in .?*; do | |
case $dotfile in | |
*.elc) | |
continue;; | |
..) | |
continue;; | |
.git) | |
continue;; | |
.vimperator) | |
ln -Fis "$PWD/$dotfile/plugin" $HOME/$dotfile/plugin | |
;; | |
*) | |
ln -Fis "$PWD/$dotfile" $HOME | |
;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.vimperatorの設定などはお好みで。