From aeb58d45b67eca2a42ffafb67c9706c0cdf7a3df Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Mon, 13 Jul 2026 00:21:47 -0400 Subject: [PATCH] added opencode install function --- zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index c160368..ec1c099 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -28,6 +28,10 @@ fix_btopbg(){ sed -i 's/theme_background = true/theme_background = false/' ~/.config/btop/btop.conf } +install_opencode(){ + curl -fsSL https://opencode.ai/install | bash +} + # Bootstrap: download and run once per bootstrap version if [[ ! -f "$ZSHRC_BOOTSTRAP" || "$(cat "$ZSHRC_BOOTSTRAP" 2>/dev/null)" != "$ZSHRC_BOOTSTRAP_VERSION" || "$BOOTSTRAP" == "true" ]]; then tmp=/tmp/.zshrc_bootstrap.$$