Skip to content

feat(prompt): load the starship prompt - #50

Merged
sha1n merged 1 commit into
masterfrom
feat/starship-prompt
Oct 4, 2026
Merged

sha1n merged 1 commit into
masterfrom
feat/starship-prompt

Conversation

@sha1n

@sha1n sha1n commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

The profile now loads the Starship prompt and points it at the config in this repo, so an edit applies at the next prompt with no link or reload. The prompt shows the branch, changed files, lines added and removed, and stash and remote counters.

Changes

  • Load Starship with the repo config and a git-status prompt; skip it without starship or on a dumb terminal.

Review notes

  • Remove any eval "$(starship init zsh)" line from ~/.zshrc, or Starship initialises twice.
  • Starship init now runs at every shell start; its cost has not been measured with zsh_bench.

🤖 Generated with Claude Code

@sha1n sha1n added the enhancement New feature or request label Oct 4, 2026
@sha1n sha1n self-assigned this Oct 4, 2026
load.zsh now initialises Starship through include/prompt. STARSHIP_CONFIG
points at config/starship.toml in the repo, so edits apply at the next
prompt without a link. Init is skipped when starship is not on PATH or
the terminal is dumb. The git modules skip submodules, so they stay
within Starship's command_timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sha1n
sha1n force-pushed the feat/starship-prompt branch from 0f129ff to 55a8abc Compare October 4, 2026 14:45
@sha1n
sha1n merged commit 29e44f0 into master Oct 4, 2026
2 checks passed
@sha1n
sha1n deleted the feat/starship-prompt branch October 4, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant