Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal theme: prompt does not display information about git status #12402

Closed
faciledictu opened this issue May 7, 2024 · 1 comment
Closed

Comments

@faciledictu
Copy link

Describe the bug

When using the Minimal theme, there is no git status indication at the command line prompt when you are in the valid repo directory.

Steps to reproduce

  1. Activate 'minimal' theme
  2. Enter to any git repo

Expected behavior

There is information including the name and status (dirty or clean) of the current branch in the prompt

Screenshots and recordings

Actual

current

Some tests

test

OS / Linux distribution

macOS 13.6.6

Zsh version

5.9

Terminal emulator

Terminal.app, iTerm2

If using WSL on Windows, which version of WSL

None

Additional context

If you hardcode $(git_prompt_info) in $PROMPT, it will works. Currently, there is a function $(vcs_status) there. See the screenshots for more details.

Note that in the current case, the command git_prompt_info itself does not produce any output to the console.

@carlosala
Copy link
Member

That's expected, we're working on a fix. Duplicate of #12328.
See #12328 (comment)

@carlosala carlosala closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants