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

Show All Segments Regardless of Conditions #5368

Open
1 task done
v-amorim opened this issue Jul 27, 2024 · 0 comments
Open
1 task done

Show All Segments Regardless of Conditions #5368

v-amorim opened this issue Jul 27, 2024 · 0 comments
Assignees
Labels
🚀 feat New feature

Comments

@v-amorim
Copy link

v-amorim commented Jul 27, 2024

Code of Conduct

  • I agree to follow this project's Code of Conduct

What would you like to see added?

Request:

Introduce a way to display all segments defined in the configuration, even if their conditions don't currently apply. This can be achieved with a command such as oh-my-posh print -full.

Intent:

When customizing the Oh My Posh prompt, it can be challenging to design and test segments that don't apply to the current state. For instance, editing the "battery" segment on a PC doesn't allow for a preview of its interaction with other segments.

Current Workarounds:

  • oh-my-posh print primary
  • oh-my-posh toggle "segment"

Related Enhancement:

  • Add a command like oh-my-posh print all to display all segments defined across various options (primary, secondary, etc.), irrespective of their current applicability.

This feature would streamline the design process, ensuring that users can preview and refine their configurations comprehensively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feat New feature
Projects
None yet
Development

No branches or pull requests

2 participants