Skip to content

zsh: Starshipの代替としてPureプロンプトを導入#4

Open
halkn wants to merge 1 commit intomainfrom
claude/zsh-prompt-alternatives-SFEWi
Open

zsh: Starshipの代替としてPureプロンプトを導入#4
halkn wants to merge 1 commit intomainfrom
claude/zsh-prompt-alternatives-SFEWi

Conversation

@halkn
Copy link
Owner

@halkn halkn commented Mar 1, 2026

  • バイナリ不要・非同期git情報取得のPureを優先プロンプトとして設定
  • 現在のStarshipカラー設定(blue/magenta/red/green/bright-black)を踏襲
  • Pureが未インストールの場合はStarshipへフォールバック
  • 30_plugins.zshにsindresorhus/pureを追加(自動インストール対象)
  • 50_prompt.zshにSpaceship/p10k/Starshipとの比較コメントを追記

https://claude.ai/code/session_01SpCUzbQSGBHCYzZbJB4biY

miseのstarship依存を削除し、Pureを自動インストールする
50_prompt.zshに置き換え。

- starship/starship を mise config から削除
- Pure を $ZPLUGINDIR/pure に git clone(初回起動時に自動取得)
- path / git:branch / git:dirty / virtualenv の色をカスタマイズ
- PURE_CMD_MAX_EXEC_TIME=3 で実行時間表示を早める(デフォルト5→3秒)

https://claude.ai/code/session_01SpCUzbQSGBHCYzZbJB4biY
@halkn halkn force-pushed the claude/zsh-prompt-alternatives-SFEWi branch from 7b26562 to 732c8b6 Compare March 1, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants