mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-21 22:42:31 -05:00
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:
parent
bd9c27140d
commit
49a4b54c03
2 changed files with 3 additions and 9 deletions
7
update
7
update
|
@ -2,14 +2,11 @@
|
|||
|
||||
cd "${0%/*}"
|
||||
|
||||
[[ $(cat .git/modules/vim/bundle/vim-coloresque/HEAD | grep -c 0c21b1469993e610600e88e734ffe90b9c10a514) = 1 ]] && git checkout -- vim/bundle/vim-coloresque
|
||||
|
||||
git pull origin
|
||||
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
|
||||
if [ -d "$each" ]; then
|
||||
if [ -f "${each}/.git" ]; then
|
||||
|
|
5
vimrc
5
vimrc
|
@ -7,7 +7,6 @@
|
|||
" License: MIT "
|
||||
" "
|
||||
"========================================"
|
||||
"
|
||||
|
||||
"USER CONFIG SETTINGS: {{{
|
||||
"Darkcloud Vim Folder:
|
||||
|
@ -44,7 +43,5 @@
|
|||
"}}}
|
||||
|
||||
"LOAD USER CONFIG FILE: {{{
|
||||
if filereadable($VIMRUNTIME."/vimrc.user")
|
||||
runtime vimrc.user
|
||||
endif
|
||||
runtime vimrc.user
|
||||
"}}}
|
||||
|
|
Loading…
Reference in a new issue