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

Allow transient prompt alignment (segments or left/right_template or whatever...) #4822

Open
1 task done
joerohde opened this issue Apr 6, 2024 · 1 comment
Open
1 task done
Assignees
Labels
🚀 feat New feature

Comments

@joerohde
Copy link

joerohde commented Apr 6, 2024

Code of Conduct

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

What would you like to see changed/added?

Related: 3844

Mostly care about powershell, but would like to use for zsh.
Pretty much a dup of referenced issue, but I'll give my use cases:

  1. I have a multi-line prompt and I want to reduce it to 1 line with the more/most important info via transient mechanics.
  2. Filler, which sort of works, should automatically be applied after the command input instead of before.

As opposed to going all out and supporting multiple segments, I would be thrilled just to have:
left_template -> alias for 'template'
right_template -> right aligned (after optional filler) template.

Image attached of my powerlevel10k zsh prompt usage that I'd like to replace. It looks noisy especially because I used short-output commands with a somewhat narrow screen to demo.

image
@joerohde joerohde added the 🚀 feat New feature label Apr 6, 2024
@joerohde
Copy link
Author

joerohde commented Apr 9, 2024

BTW: If there's no philosophical issue with this, and you'd like to let me know what syntax/json form you prefer, I can take a shot at it. I'm good with go, but not so good with Powershell. :)

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