Skip to content

Add git context to Zsh defaults prompt#66

Merged
codeforester merged 1 commit into
masterfrom
hpr/zsh-defaults-git-prompt
May 25, 2026
Merged

Add git context to Zsh defaults prompt#66
codeforester merged 1 commit into
masterfrom
hpr/zsh-defaults-git-prompt

Conversation

@codeforester
Copy link
Copy Markdown
Owner

Summary

  • add a Zsh defaults helper that shows the current git branch or detached commit
  • include the helper in the default Zsh prompt with prompt substitution enabled
  • add BATS coverage for the Zsh defaults prompt path
  • mark the TODO item complete

Testing

  • bats cli/bash/commands/basectl/tests/setup.bats

@codeforester codeforester merged commit 8ec1cbd into master May 25, 2026
8 checks passed
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.

1 participant