autoupdate plugins
This commit is contained in:
parent
b908feebcf
commit
69be6af0f5
@ -37,3 +37,11 @@ then
|
|||||||
else
|
else
|
||||||
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
|
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "${BLUE}%s${NORMAL}\n" "Updating Custom Plugins"
|
||||||
|
cd "$ZSH/custom/plugins"
|
||||||
|
for dir in ./*; do
|
||||||
|
if [[ -d $dir && -d $dir/.git ]]; then
|
||||||
|
git -C $dir pull --rebase --stat origin master
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user