shoestrap/recipes/default/vim-settings

13 lines
374 B
Plaintext
Raw Normal View History

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