← Agent directory

Zed

Ready Explicit terminal.shell.program Windows macOS Linux Difficulty Easy

A single setting: point terminal.shell.program at niu.exe, and the agent shares that terminal.

settings.json
{
  "terminal": {
    "shell": {
      "program": "C:\\Users\\<你>\\AppData\\Local\\Programs\\Niubash\\niu.exe"
    }
  }
}

Steps

  1. Open Zed's settings.json and write in the terminal.shell.program block above

Verify

echo "SHELL=$SHELL"; uname -s — expect uname -s to start with MSYS_NT-

Rollback

Delete the terminal.shell.program setting

Sources

Chinese edition of this page: /agents/zed/