shoestrap/recipes/default/vim-settings

13 lines
364 B
Plaintext
Raw Normal View History

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