Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.92 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.92 KB

autoupdate-antidote-zsh

Antidote doesn't do automatic updates like oh-my-zsh. Set up easy auto updating of the bundles loaded in your configuration.

It also will automatically check your ~/.zsh_plugins.txt and bundle again if it was modified. See information about loading plugins on Antidote's homepage.

Activate with antidote bundle snailslug/autoupdate-antidote-zsh.

See why not oh-my-zsh.

Customization

There are numerous global variables that will be set with defaults if they are undefined. You may override these in your .zshrc.

Note: If you are using the default names for the files described in the Loading Plugins section of Antidote's website, they will be automatically detected, if they exist. This script will not create them for you, and the corresponding feature is disabled.

Global Default Purpose
ANTIDOTE_AUTOUPDATE_VERBOSE true Display what this script is doing after checking whether it should update, if anything. Must be a boolean.
ANTIDOTE_PLUGIN_UPDATE_DAYS 7 The interval of days to update ypur bundles, checked every time a prompt is launched. Must be an integer.
ANTIDOTE_PLUGIN_LIST_F "$HOME/.zsh_plugins.txt" If you are loading your plugins statically, this is the path to the file that lists them. Must be a string with a valid path to an existing file.
ANTIDOTE_PLUGIN_SOURCE_F "$HOME/.zsh_plugins.sh" With static loading, this is the file that is sourced by your .zshrc. Must also be a valid file path.
ANTIDOTE_PLUGIN_RECEIPT_F "$HOME/.antidote_plugin_lastupdate" This is the path to the receipt file that is used to keep track of the last update time. Must be a path as a string, it will be created for you on the first run.