Fix default agent setup edge cases

This commit is contained in:
David Heinemeier Hansson
2026-08-01 19:52:04 -07:00
parent 6009e8a73b
commit 7b4fb0ad6b
6 changed files with 69 additions and 9 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
echo "Install oh-my-pi (omp) via mise wrapper"
omarchy-mise-install oh-my-pi omp
if [[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]; then
omarchy-mise-install github:can1357/oh-my-pi omp
fi
+8 -3
View File
@@ -1,4 +1,9 @@
echo "Install Grok and Crush via mise wrappers"
echo "Install default coding agent mise wrappers"
omarchy-mise-install npm:@xai-official/grok grok
omarchy-mise-install crush
if [[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]; then
omarchy-mise-install github:can1357/oh-my-pi omp
omarchy-mise-install npm:@xai-official/grok grok
omarchy-mise-install crush
elif [[ -f $HOME/.local/bin/omp ]] && grep -Fq 'mise use -g "oh-my-pi"' "$HOME/.local/bin/omp"; then
rm -f "$HOME/.local/bin/omp"
fi