Files
ai-setup/home-configs/claude
Виталий Никитенко 532d70f478 fix(add-account): unhang oauth login via fifo stdin
Логин Claude.ai подвисал навсегда: claude auth login ждёт код из браузера в stdin, а хук запускал его в фоне с </dev/null, куда код вставить невозможно. Теперь /add-account поднимает логин со stdin из fifo и печатает ссылку, а /add-account <код> отдаёт код, дожидается обмена и сохраняет новый аккаунт по email из токена. Провал логина больше не маскируется под успешное сохранение текущего аккаунта, а фоновые процессы гасятся строго по своим PID вместо широкого pkill -f. Поведение закреплено пятью тестами в tests/test_fixes.sh.
2026-08-08 19:20:10 +03:00
..

Claude Code configuration

Statusline (statusline-command.sh)

The custom statusline script renders only ASCII-safe characters and ANSI color codes:

  • ASCII brackets [ ] for git branch and effort level
  • ANSI 256-color escape sequences for model names, effort levels, and rate-limit percentages
  • The ¥ symbol (U+00A5) for CNY balance in DeepSeek output

It does not use Nerd Font glyphs, powerline separators, or emoji.

Unicode symbols you may see in the TUI

Some symbols that appear in the Claude Code interface are rendered by Claude Code's own TUI, not by this statusline script. For example, arrow symbols such as (used before "bypass permissions on" prompts) are drawn by Claude Code itself.

If these symbols display as boxes or question marks, install a Unicode-capable font such as:

  • Noto Color Emoji (recommended on Linux)
  • Any terminal font with full Unicode support

To install Noto Color Emoji on Debian/Ubuntu:

sudo apt-get install -y fonts-noto-color-emoji

The statusline script itself does not require emoji fonts.