oh-my-zsh plugin to update all oh-my-zsh plugin's git-repositories, and my personal zsh plugins stored in $ZSH_CUSTOM folder.
This documentation section is generated automatically
Once the plugin installed, auto-update-plugins will be available
- As an Oh My ZSH! custom plugin
Clone zsh-auto-update-plugins into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/ptavares/zsh-auto-update-plugins.git ~/.oh-my-zsh/custom/plugins/zsh-auto-update-pluginsplugins+=(zsh-auto-update-plugins)Keep in mind that plugins need to be added before oh-my-zsh.sh is sourced.
By default, the plugin will check for updates every 15 days. If you want to change this value, add this line in your ${HOME}/.zshrc .
# Example to check every 10 days
export UPDATE_ZSH_DAYS=10By default, the plugin will call all my plugins custom update functions.
This feature can be disabled exporting some variables in your ${HOME}/.zshrc.
- Disable all auto-update
export ZSH_AUTOUPDATE_IGNORE_ALL=true- Disable
direnvauto-update from zsh-direnv plugin
export ZSH_AUTOUPDATE_IGNORE_DIRENV=true- Disable
kubectxauto-update from zsh-kubectx plugin
export ZSH_AUTOUPDATE_IGNORE_KUBECTX=true- Disable
sdkmanauto-update from zsh-sdkman plugin
export ZSH_AUTOUPDATE_IGNORE_SDKMAN=true- Disable
tfenvauto-update from zsh-tfenv plugin
export ZSH_AUTOUPDATE_IGNORE_TFENV=true- Disable
tgenvauto-update from zsh-tgenv plugin
export ZSH_AUTOUPDATE_IGNORE_TGENV=true- Disable
pkenvauto-update from zsh-pkenv plugin
export ZSH_AUTOUPDATE_IGNORE_PKENV=true- Disable
exaauto-update from zsh-exa plugin
export ZSH_AUTOUPDATE_IGNORE_EXA=true- Disable
zauto-update from zsh-z plugin
export ZSH_AUTOUPDATE_IGNORE_Z=true- Disable
tfswithauto-update from zsh-tfswitch plugin
export ZSH_AUTOUPDATE_IGNORE_TFSWITCH=true- Disable
tgswithauto-update from zsh-tgswitch plugin
export ZSH_AUTOUPDATE_IGNORE_TGSWITCH=true- Disable
terraform-toolsauto-update from zsh-terraform plugin
export ZSH_AUTOUPDATE_IGNORE_TF_TOOLS=trueTo turn off auto-update-plugins message, add this variable in your ${HOME}/.zshrc
export ZSH_AUTOUPDATE_PLUGINS_SILENT=trueThe plugin comes with a zsh function to force update manually (not wait for automatic) :
upgrade_oh_my_zsh_customAnd another function to call upgrade_oh_my_zsh before updating custom plugins :
upgrade_all_oh_my_zsh