mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
use ZSH_CUSTOM to update custom plugins
This commit is contained in:
parent
69be6af0f5
commit
2cf34dfd14
2 changed files with 2 additions and 3 deletions
|
|
@ -39,8 +39,7 @@ else
|
|||
fi
|
||||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Custom Plugins"
|
||||
cd "$ZSH/custom/plugins"
|
||||
for dir in ./*; do
|
||||
for dir in $ZSH_CUSTOM/plugins/*; do
|
||||
if [[ -d $dir && -d $dir/.git ]]; then
|
||||
git -C $dir pull --rebase --stat origin master
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue