Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 872 Bytes
all: update
install:
@for file in *; do \
if [ '$$file' != 'Makefile' ] && [ '$$file' != 'readme.md' ]; then \
if [ -e "$$HOME/.$$file" ]; then \
echo "$$HOME/.$$file exists"; \
else \
ln -s "$$PWD/$$file" "$$HOME/.$$file"; \
fi \
fi \
done
@git submodule update --init
powerline_font:
-mkdir ~/.fonts
@cd ~/.fonts/ && git clone https://github.com/scotu/ubuntu-mono-powerline.git
update:
@git submodule foreach git checkout master
@cd vim/bundle/powerline && git checkout develop
@git submodule foreach git pull
@make -s pathogen
pathogen:
@cd vim/autoload && rm pathogen.vim && curl -O https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
setup_cron:
@touch tmpcron
-crontab -l >> tmpcron
@echo "0 0 * * * cd $$HOME/dotfiles && git pull && make install >> /dev/null &2>1" >> tmpcron
@crontab tmpcron
@rm tmpcron