dotfiles/upgrade.zsh
2019-08-26 22:45:11 +03:00

12 lines
278 B
Bash
Executable file

#!/usr/bin/env zsh
DOTFILES_PATH="${0:a:h}"
cd "$DOTFILES_PATH" || exit 1
ZSH_DOTFILES="$DOTFILES_PATH/zsh"
git pull --rebase --stat origin master
git submodule update --init --recursive --remote --progress
ZPLG_SKIP_LOADING=1
source "$ZSH_DOTFILES/plugins.zsh"
zplg-upgrade