Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oh My Zsh - Disable 'Would you like to check for updates' prompt

Every time I open up terminal on a Mac I get the prompt

Would you like to check for updates?

I find it quite annoying. Anyway to stop it from doing so?

like image 568
Eric Brotto Avatar asked Jul 07 '12 21:07

Eric Brotto


People also ask

How do I change the prompt in oh-my-ZSH?

To customize the ZSH prompt, we need to modify the prompt= variable inside the . zshrc file. We can populate the prompt variable with various placeholders, which will alter how the ZSH prompt appears.

How do you update oh-my-ZSH plugins?

Usage. Add autoupdate to the plugins=() list in your ~/. zshrc file and you're done. The updates will be executed automatically as soon as the oh-my-zsh updater is started.

How do I update OMZ?

To manually update ohmyzsh, you can run the "omz" update command and just like that you will get the latest version of ohmyzsh. Please support us by disabling your ad-block. The revenue help us create more content for the community.


1 Answers

Set environment variable DISABLE_UPDATE_PROMPT=true to always reply Yes and automatically upgrade.

Set environment variable DISABLE_AUTO_UPDATE=true to always reply No and never upgrade.

Simply add one of these in your ~/.zshrc somewhere before calling source $ZSH/oh-my-zsh.sh.

like image 175
Wernight Avatar answered Sep 20 '22 03:09

Wernight