dotfiles/upgrade.zsh
2019-07-07 14:19:34 +03:00

11 lines
260 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
source "$ZSH_DOTFILES/plugins.zsh"
plugin-upgrade