Set agy instead of gemini as agent - OMARCHY A developer published a shell script for the Omarchy Linux setup that swaps the Gemini CLI for a tool called agy as the default coding agent. The script uninstalls gemini via mise, installs agy, and writes a compatibility shim at ~/.local/bin/gemini that translates legacy flags such as --yolo into agy's --dangerously-skip-permissions before exec'ing the new binary. It also sets the default agent by writing "gemini" to ~/.config/omarchy/defaults/agent. | | /bin/bash | | | set -e | | | cd | | | mise uninstall gemini | | | mise install agy | | | cat << 'EOF' ~/.local/bin/gemini | | | /bin/bash | | | Shim translating legacy gemini CLI flags to agy | | | args= | | | while $ ; do | | | case "$1" in | | | --yolo | | | args+= --dangerously-skip-permissions | | | shift | | | ;; | | | | | | args+= "$1" | | | shift | | | ;; | | | esac | | | done | | | exec agy "${args @ }" | | | EOF | | | chmod +x ~/.local/bin/gemini | | | mkdir -p ~/.config/omarchy/defaults | | | echo "gemini" ~/.config/omarchy/defaults/agent |