shoestrap/recipes/default/vim-settings

13 lines
364 B
Plaintext
Raw Normal View History

2013-08-07 20:23:13 -07:00
#! /bin/bash
2015-06-03 13:57:19 -07:00
VIM_SETTINGS_DIR=$WORKSPACE/vim-settings
2013-08-07 20:23:13 -07:00
# Clone vundle if not done already
2015-06-03 13:57:19 -07: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-07 20:23:13 -07:00
fi