mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
autoupdate plugins
This commit is contained in:
parent
b908feebcf
commit
69be6af0f5
1 changed files with 8 additions and 0 deletions
|
|
@ -37,3 +37,11 @@ then
|
|||
else
|
||||
printf "${RED}%s${NORMAL}\n" 'There was an error updating. Try again later?'
|
||||
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…
Add table
Add a link
Reference in a new issue