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.$$