2013-08-08 03:23:13 +00:00
|
|
|
#! /bin/bash
|
2019-11-13 01:59:41 +00:00
|
|
|
vim_settings_dir="$WORKSPACE/vim-settings"
|
2013-08-08 03:23:13 +00:00
|
|
|
|
|
|
|
# Clone vundle if not done already
|
2019-11-13 01:59:41 +00:00
|
|
|
if [ ! -d "$vim_settings_dir" ]; then
|
2015-06-03 20:57:19 +00:00
|
|
|
log "Cloning vim-settings"
|
2019-11-13 01:59:41 +00:00
|
|
|
git clone https://github.com/ViViDboarder/vim-settings "$vim_settings_dir"
|
|
|
|
(cd "$vim_settings_dir" && ./vim-sync-append.sh)
|
2015-06-03 20:57:19 +00:00
|
|
|
else
|
|
|
|
log "Updating vim-settings"
|
2019-11-13 01:59:41 +00:00
|
|
|
(cd "$vim_settings_dir" && git pull)
|
2013-08-08 03:23:13 +00:00
|
|
|
fi
|