Ensure the opencode directory is present

This commit is contained in:
David Heinemeier Hansson
2026-01-05 13:30:08 +01:00
parent b9b5de4751
commit 88603ea9d6

View File

@@ -4,6 +4,7 @@ omarchy-pkg-add opencode
# Add config using omarchy theme by default
if [[ ! -f ~/.config/opencode/opencode.json ]]; then
mkdir -p ~/.config/opencode
cp $OMARCHY_PATH/config/opencode/opencode.json ~/.config/opencode/opencode.json
fi