Shell aliases Pi 以非互動模式 (bash -c) 執行 bash,預設情況下不擴充別名。 要啟用 shell 別名,請新增到 ~/.pi/agent/settings.json: { "shellCommandPrefix": "shopt -s expand_aliases\neval \"$(grep '^alias ' ~/.zshrc)\"" }調整路徑(~/.zshrc、~/.bashrc 等)以比對你的 shell 設定。