Skip to content

Pilaton/OhMyZsh-full-autoupdate

Repository files navigation

OhMyZsh Full-autoupdate

🍃 OhMyZsh Full-autoupdate

Automatic update of custom plugins and themes Oh My Zsh


What is it

As you probably know, when you update Oh My Zsh, your plugins and themes installed in the ~/.oh-my-zsh/custom folder are not updated.

This plugin solves this problem and automatically updates your plugins and themes.

Installing

  1. Clone this repository into $ZSH_CUSTOM/plugins (~/.oh-my-zsh/custom/plugins)

    git clone https://github.com/Pilaton/OhMyZsh-full-autoupdate.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/ohmyzsh-full-autoupdate
  2. Add the plugin to the Oh My Zsh plugin list in the ~/.zshrc file:

    plugins=(... ohmyzsh-full-autoupdate)
  3. Start a new terminal session.

Usage 🚀

The plugin works completely automatically.
The update of all OMZ themes and plugins is triggered the next time a new terminal session is opened, after the update of Oh My Zsh.
The update frequency depends on the Oh My Zsh settings, by default every 13 days.

💡 Note: It can be changed with the parameter export UPDATE_ZSH_DAYS=13 in ~/.zshrc.


OhMyZsh Full-autoupdate Terminal screenshot

Manual start

If you still need to start the update manually, just type omz update in the terminal, wait for the Oh My Zsh update to finish and restart the terminal. 😎

License

MIT © Pilaton