dotfiles/zsh/tools/zim_update
2018-04-05 13:06:54 +02:00

12 lines
252 B
Plaintext

#
# zim_update - update the zim repository
#
cd ${ZDOTDIR:-${HOME}/.zim}
# this is the cleanest way I know how to update a repository
git remote update -p
git merge --ff-only @\{u\}
# and update the submodules
git submodule update --init --recursive