Files
dotfiles/installer/opencode.sh
T

9 lines
218 B
Bash

#!/bin/sh -e
if [[ ! -x "$(command -v opencode)" ]]; then
paru -Sy --needed --noconfirm opencode-bin
fi
${DOTFILES_DIR}/sync-config config/opencode
ln -snf ${HOME}/.agents/prompts ${HOME}/.config/opencode/agents