The user has installed a tool called Antigravity (which acts similar to VS Code or Cursor). The underlying CLI command is antigravity (or antigravity.cmd on Windows).
The goal is to map ag . so that it seamlessly opens the current directory in Antigravity across three environments:
- Windows Command Prompt (
cmd.exe) - Windows PowerShell (
powershell.exe/pwsh) - Windows Subsystem for Linux (WSL / Bash)
When a user types
ag ., it should invokeantigravity .automatically, exactly like howcode .orcursor .works.