shoestrap/recipes/default/vim-settings

13 lines
374 B
Plaintext
Raw Permalink Normal View History

2013-08-08 03:23:13 +00:00
#! /bin/bash
vim_settings_dir="$WORKSPACE/vim-settings"
2013-08-08 03:23:13 +00:00
# Clone vundle if not done already
if [ ! -d "$vim_settings_dir" ]; then
2015-06-03 20:57:19 +00: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 20:57:19 +00:00
else
log "Updating vim-settings"
(cd "$vim_settings_dir" && git pull)
2013-08-08 03:23:13 +00:00
fi