ohmyzsh / ohmyzsh

🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Home Page:https://ohmyz.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git information not appearing in rprompt

UlyssesZh opened this issue · comments

Describe the bug

The git information only appears if it is included in PROMPT. If it is only included in RPROMPT, it does not appear. If it is included in both PROMPT and RPROMPT, then it appears at both places as expected.

Steps to reproduce

Use this theme:

RPROMPT='$(git_prompt_info)'

Expected behavior

Shows git info aligned in the right.

Screenshots and recordings

No response

OS / Linux distribution

NixOS 23.11

Zsh version

5.9

Terminal emulator

GNOME

If using WSL on Windows, which version of WSL

None

Additional context

No response

Fixed in 0389310. You can get it by updating with omz update.

Thanks for the report!