We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3e3ed7 commit 6837f12Copy full SHA for 6837f12
1 file changed
src/common-utils/main.sh
@@ -558,7 +558,7 @@ if [ "${INSTALL_ZSH}" = "true" ]; then
558
# Add devcontainer .zshrc template
559
if [ "$INSTALL_OH_MY_ZSH_CONFIG" = "true" ]; then
560
if ! [ -f "${template_path}" ] || ! grep -qF "$(head -n 1 "${template_path}")" "${user_rc_file}"; then
561
- echo -e "$(cat "${template_path}")\nDISABLE_AUTO_UPDATE=true\nDISABLE_UPDATE_PROMPT=true" > ${user_rc_file}
+ echo -e "$(cat "${template_path}")\nzstyle ':omz:update' mode disabled" > ${user_rc_file}
562
fi
563
sed -i -e 's/ZSH_THEME=.*/ZSH_THEME="devcontainers"/g' ${user_rc_file}
564
0 commit comments