Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置
验证环境(2026-10-28):macOS 15.6.1、Zsh 5.9、Ghostty 1.4.0、Yazi 26.1.22。Yazi 配置已在本机读取核验。 Zoxide 和 Oh-My-Zsh 未做版本兼容性验证。
| 工具 | 用途 |
| ## Troubleshooting Antigravity Remote SSH on macOS: Fixing "posix_spawnp failed" and 404 Download Errors | |
| When attempting to use **Antigravity** (or similar IDEs) to connect via Remote-SSH to a macOS (Darwin) server, you might encounter a `posix_spawnp failed` error or a `404 Not Found` during the server installation phase. This usually happens because the official `darwin-arm` server binary is missing from the download mirrors. | |
| Below is a verified workaround to manually "assemble" a working Remote Server by bridging the Linux-arm structure with native Darwin binaries. | |
| ### 🛠 Prerequisites | |
| On your **Remote macOS Server**, ensure you have the necessary tools installed via Homebrew: |
import sys
import os
NOP = 0x90
offsets_and_values = {
0x00030170: 0x00,
0x000A94D0: NOP, 0x000A94D1: NOP, 0x000A94D2: NOP, 0x000A94D3: NOP, 0x000A94D4: NOP, 0x000A94D5: NOP, 0x000A94D6: NOP, 0x000A94D7: NOP, 0x000A94D8: NOP, 0x000A94D9: NOP, 0x000A94DA: NOP, 0x000A94DB: NOP, 0x000A94DC: NOP, 0x000A94DD: NOP, 0x000A94DE: NOP, 0x000A94DF: NOP, 0x000A94E0: NOP, 0x000A94E1: NOP, 0x000A94E2: NOP, 0x000A94E3: NOP, 0x000A94E4: NOP, 0x000A94E5: NOP, 0x000A94E6: NOP, 0x000A94E7: NOP, 0x000A94E8: NOP, 0x000A94E9: NOP, 0x000A94EA: NOP, 0x000A94EB: NOP, 0x000A94EC: NOP, 0x000A94ED: NOP, 0x000A94EE: NOP, 0x000A94EF: NOP, 0x000A94F0: NOP, 0x000A94F1: NOP, 0x000A94F2: NOP, 0x000A94F3: NOP, 0x000A94F4: NOP, 0x000A94F5: NOP, 0x000A94F6: NOP, 0x000A94F7: NOP, 0x000A94F8: NOP, 0x000A94F9: NOP, 0x000A94FA: NOP, 0x000A94FB: NOP, 0x000A94FC: NOP, 0x000A94FD: NOP, 0x000A94FE: NOP, 0x000A94FF: NOP, 0x000A9500: NOP, 0x000A9501: NOP, 0x000A9502: NOP, 0x000A9503: NOP, 0x000A9504: NOP, 0x000A9505: NOP, 0x000A9506: NO| # 混合端口 HTTP和SOCKS5用一个端口 | |
| mixed-port: 7893 | |
| # TCP 并发连接所有 IP, 将使用最快握手的 TCP | |
| tcp-concurrent: true | |
| # 允许局域网的连接(可用来共享代理) | |
| allow-lan: true | |
| # 开启 IPv6 总开关,关闭阻断所有 IPv6 链接和屏蔽 DNS 请求 AAAA 记录 | |
| ipv6: true | |
| # 规则模式:rule/global/direct/script | |
| mode: rule |
| # 21 世纪最伟大的发明是什么,那必然是 AI | |
| # 所以如果你遇到什么问题,也许问 AI 比问人更快哦 | |
| # AFF | |
| # 如果你想支持我,可以通过我的邀请链接购买机场 | |
| # 感谢支持 | |
| # 1. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH 贵 快 | |
| # 2. 一元机场 邀请码: r3f1duds https://xn--4gq62f52gdss.top/#/register?code=r3f1duds 垃圾 但是便宜 | |
| # 3. Kitty 邀请码: MSOOG0Q0 https://kitty.fo/register?invite=MSOOG0Q0 | |
| # 4. BiuBiu 邀请码: fACfjKC8 https://biubiux.online/#/register?code=fACfjKC8 有年周期套餐 |
| log: | |
| level: info | |
| plugins: | |
| # 缓存mosdns-install.hook | |
| - tag: cache | |
| type: cache | |
| args: | |
| size: 1024 | |
| lazy_cache_ttl: 86400 |
All license keys and activation files have been removed in accordance with GitHub's Terms of Service.
Only official trial installers are available. Bring your own license (BYOL).
| /system/device-mode/update container=yes | |
| /interface veth add address=172.17.0.1/24 gateway=172.17.0.254 name=agh | |
| /interface bridge add name=dockers | |
| /interface bridge port add bridge=dockers interface=agh | |
| /ip address add address=172.17.0.254/24 interface=dockers network=172.17.0.0 | |
| /ip firewall nat add action=masquerade chain=srcnat | |
| /container config set registry-url=https://registry-1.docker.io tmpdir=/disk1/tmp |
| :local curDNS [/ip dns get server] | |
| :local gwDNS "192.168.2.1" | |
| :local aghDNS "192.168.2.230" | |
| :local oriDNS "8.8.8.8,8.8.4.4" | |
| :local testDomain "www.google.com" | |
| :local isDown "no" | |
| :if ($curDNS = $aghDNS) do={ | |
| :do { |
| > * Go to [hexed.it](https://hexed.it/) | |
| > * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
| > * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
| > * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
| > * Click "Find next" then "Replace" | |
| > * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
| > * Click "Save as" then name it: sublime_text | |
| > * Copy your modified sublime_text.exe to directory Sublime Text |