Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current oh-my-zsh implementation does not autoupdate plugins/themes #4

Open
weirdion opened this issue Oct 10, 2021 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@weirdion
Copy link
Owner

Tracking issue: ohmyzsh/ohmyzsh#9512

@weirdion weirdion added the bug Something isn't working label Oct 10, 2021
@weirdion weirdion self-assigned this Oct 10, 2021
@weirdion
Copy link
Owner Author

Temporary workaround is to implement https://unix.stackexchange.com/a/597740 in tools/upgrade.sh before exit $ret

printf "\n${BLUE}%s${RESET}\n" "Updating custom plugins and themes"
cd custom/
for plugin in plugins/*/ themes/*/; do
  if [ -d "$plugin/.git" ]; then
     printf "${YELLOW}%s${RESET}\n" "${plugin%/}"
     git -C "$plugin" pull
  fi
done

@weirdion
Copy link
Owner Author

Checked on Jan 12, 2025 - still an issue - the above patch still works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant