The vimrc.user file wasn't getting loaded, and I'd committed the wrong

update script, though I'm not sure if this method would work any better.
This commit is contained in:
Kevin 2014-04-04 23:36:51 -04:00
parent bd9c27140d
commit 49a4b54c03
2 changed files with 3 additions and 9 deletions

7
update
View file

@ -2,14 +2,11 @@
cd "${0%/*}" cd "${0%/*}"
[[ $(cat .git/modules/vim/bundle/vim-coloresque/HEAD | grep -c 0c21b1469993e610600e88e734ffe90b9c10a514) = 1 ]] && git checkout -- vim/bundle/vim-coloresque
git pull origin git pull origin
git submodule update --init --recursive git submodule update --init --recursive
if [ $(cat .git/modules/vim/bundle/vim-coloresque/HEAD | grep -c 0c21b1469993e610600e88e734ffe90b9c10a514) = 1 ]; then
git checkout -- vim/bundle/vim-coloresque
git rm --cached vim/bundle/vim-coloresque
fi
[[ -f .gitmodules ]] && for each in vim/bundle/*; do [[ -f .gitmodules ]] && for each in vim/bundle/*; do
if [ -d "$each" ]; then if [ -d "$each" ]; then
if [ -f "${each}/.git" ]; then if [ -f "${each}/.git" ]; then

5
vimrc
View file

@ -7,7 +7,6 @@
" License: MIT " " License: MIT "
" " " "
"========================================" "========================================"
"
"USER CONFIG SETTINGS: {{{ "USER CONFIG SETTINGS: {{{
"Darkcloud Vim Folder: "Darkcloud Vim Folder:
@ -44,7 +43,5 @@
"}}} "}}}
"LOAD USER CONFIG FILE: {{{ "LOAD USER CONFIG FILE: {{{
if filereadable($VIMRUNTIME."/vimrc.user") runtime vimrc.user
runtime vimrc.user
endif
"}}} "}}}