Open wacky6 opened 2 months ago
The naive way to run ${HOME_DIR}/.oh-my-zsh/tools/upgrade.sh in crontab doesn't work. Presumably due to some stupid safe guards in that script.
${HOME_DIR}/.oh-my-zsh/tools/upgrade.sh
Maybe just git fetch origin then git reset --hard origin/main in ~/.oh-my-zsh repo to avoid the non-sense parts.
git fetch origin
git reset --hard origin/main
~/.oh-my-zsh
Should also consider disabling update check or find something better (to not block shell startup).
https://stackoverflow.com/questions/11378607/oh-my-zsh-disable-would-you-like-to-check-for-updates-prompt has inspiration.
The naive way to run
${HOME_DIR}/.oh-my-zsh/tools/upgrade.sh
in crontab doesn't work. Presumably due to some stupid safe guards in that script.Maybe just
git fetch origin
thengit reset --hard origin/main
in~/.oh-my-zsh
repo to avoid the non-sense parts.Should also consider disabling update check or find something better (to not block shell startup).