summaryrefslogtreecommitdiff
path: root/templates/zshrc.zsh-template
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-09-30 17:20:22 +0200
committerMarc Cornellà <hello@mcornella.com>2021-10-04 10:47:10 +0200
commit3c9743313cc916a6cede71e333eecef4b07ce3ce (patch)
tree4fea449f2041c8f9988c49b7cc195376b6d3afba /templates/zshrc.zsh-template
parentadef0e6081789498156fa11455f3ab4f4d36525c (diff)
downloadzsh-3c9743313cc916a6cede71e333eecef4b07ce3ce.tar.gz
zsh-3c9743313cc916a6cede71e333eecef4b07ce3ce.tar.bz2
zsh-3c9743313cc916a6cede71e333eecef4b07ce3ce.zip
refactor(updater): change auto-update settings to use `zstyle`
Diffstat (limited to 'templates/zshrc.zsh-template')
-rw-r--r--templates/zshrc.zsh-template10
1 files changed, 4 insertions, 6 deletions
diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
index 4a998c2fc..7cb87078c 100644
--- a/templates/zshrc.zsh-template
+++ b/templates/zshrc.zsh-template
@@ -23,14 +23,12 @@ ZSH_THEME="robbyrussell"
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
-# Uncomment the following line to disable bi-weekly auto-update checks.
-# DISABLE_AUTO_UPDATE="true"
-
-# Uncomment the following line to automatically update without prompting.
-# DISABLE_UPDATE_PROMPT="true"
+# Uncomment the following lines to change the auto-update behavior
+# zstyle ':omz:update' mode disabled # disable automatic updates
+# zstyle ':omz:update' mode auto # update automatically without asking
# Uncomment the following line to change how often to auto-update (in days).
-# export UPDATE_ZSH_DAYS=13
+# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"