fix upgrade script

This commit is contained in:
Dmytro Meleshko 2019-07-06 00:19:55 +03:00
parent 8d5df71057
commit aeee5f485f
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
#!/usr/bin/env zsh
DOTFILES_PATH="${0:h}"
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
DISABLE_AUTO_UPDATE=true
source "zsh/zgen/zgen.zsh"
zgen update
source "$ZSH_DOTFILES/plugins.zsh"
plugin-upgrade