mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Ensure the opencode directory is present
This commit is contained in:
@@ -4,6 +4,7 @@ omarchy-pkg-add opencode
|
|||||||
|
|
||||||
# Add config using omarchy theme by default
|
# Add config using omarchy theme by default
|
||||||
if [[ ! -f ~/.config/opencode/opencode.json ]]; then
|
if [[ ! -f ~/.config/opencode/opencode.json ]]; then
|
||||||
|
mkdir -p ~/.config/opencode
|
||||||
cp $OMARCHY_PATH/config/opencode/opencode.json ~/.config/opencode/opencode.json
|
cp $OMARCHY_PATH/config/opencode/opencode.json ~/.config/opencode/opencode.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user