Skip to content

Add setting to toggle git branch in shell prompt#145

Draft
andersRuge wants to merge 1 commit into
syv-ai:mainfrom
andersRuge:add-shell-branch-toggle
Draft

Add setting to toggle git branch in shell prompt#145
andersRuge wants to merge 1 commit into
syv-ai:mainfrom
andersRuge:add-shell-branch-toggle

Conversation

@andersRuge

@andersRuge andersRuge commented Jun 9, 2026

Copy link
Copy Markdown

Needs to be tested before I am ready for a review.

Summary

  • Adds a toggle under Settings > Shell Terminal to show/hide the git branch in the terminal prompt
  • Useful when working in worktrees where the branch name already appears in the directory path
  • Default: on (preserves current behavior)
  • Applies to new terminal sessions

Test plan

  • Open Settings > General > Shell Terminal
  • Toggle "Show git branch in prompt" off
  • Open a new shell terminal — branch name should not appear in prompt
  • Toggle back on, open new terminal — branch should reappear
  • Verify toggle only shows when shell drawer is enabled

New toggle under Settings > Shell Terminal to hide the git branch
from the terminal prompt. Useful when working in worktrees where
the branch name already appears in the directory path.
@andersRuge andersRuge marked this pull request as draft June 9, 2026 09:50
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