gemini-cli - 💡(How to fix) Fix O comando /statusline salva a descrição textual diretamente no settings.json em vez de gerar o script de statusline

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

"statusLine": {
  "type": "command",
  "command": "mostrar diretório, modelo e contexto"
}
RAW_BUFFERClick to expand / collapse

What happened?

Ao tentar usar o comando /statusline com uma descrição em linguagem natural (ex: /statusline mostrar diretório, modelo e contexto), o CLI escreve essa descrição textual inteira diretamente no campo "command" de settings.json, no formato:

"statusLine": {
  "type": "command",
  "command": "mostrar diretório, modelo e contexto"
}

Em vez de gerar um script executável, ele tenta rodar a frase em linguagem natural no terminal, gerando erros repetidos (exit status 127: command not found) até a barra de status ser desativada automaticamente.

What did you expect to happen?

Eu esperava que um wizard de personalizacao ou meu prompt em linguagem natural fosse "convertido" em uma statusline decente.

Client information

  • CLI Version: 0.42.0
  • Operating System: linux
  • Model Version: Gemini 3.5 Flash

Login information

No response

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING