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

DRAFT: theme/powerline-plain: delete powerline-plain/powerline.base #2053

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

gaelicWizard
Copy link
Contributor

Description

The functions in powerline-plain/powerline.base were nearly identical after updating, so just delete the extra file. The difference from "regular" seems to just be not using the powerline font, and that's handled already by setting the right prompt character variables. Alsö, lint theme/powerline-plain.

Motivation and Context

Simplicity, predictability, &c.

How Has This Been Tested?

Since I haven't used the powerline* themes much, this is hard for me to test as I'm not used to what "normal" looks like.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • If my change requires a change to the documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
  • I have added tests to cover my changes, and all the new and existing tests pass.

@gaelicWizard gaelicWizard force-pushed the theme/powerline-plain branch 6 times, most recently from b50ba2d to 4984320 Compare January 24, 2022 20:00
@gaelicWizard gaelicWizard force-pushed the theme/powerline-plain branch 2 times, most recently from 4b1c50b to 783196b Compare January 26, 2022 19:44
@gaelicWizard gaelicWizard force-pushed the theme/powerline-plain branch 4 times, most recently from 60c52f6 to 8fa81e8 Compare February 13, 2022 05:39
- Local some variables,
- install reasonable defaults, based on `theme/powerline-plain` which doens't use the special font,
- Use `\D{fmt}` instead of `$(date +fmt)`.
Alsö:
- Use `\u` instead of `${SHORT_USER:-${USER?}}`.
- Use `if`/`then` properly.
- Lose some whitespace from prompt characters; that's what padding is for.

TODO:
- prompt character prefix/suffix support
- use variables rather than subshells...
It seems like the copied functions were just slightly out of date without any altered functionality.

The one actual difference was `$POWERLINE_PROMPT_AFTER` which is blank by default and is not documented anywhere and is not used anywhere and...I will guess it's not used.

This theme seems to be about not using the powerline font, as opposed to being "simpler" in some way.
Use `$POWERLINE_PROMPT_CHAR` instead of `$POWERLINE_PROMPT_AFTER`
@gaelicWizard gaelicWizard changed the title theme/powerline-plain: delete powerline-plain/powerline.base DRAFT: theme/powerline-plain: delete powerline-plain/powerline.base Feb 20, 2022
@seefood
Copy link
Contributor

seefood commented Nov 7, 2024

Is This still a thing?

@seefood seefood added clean up seems abandoned rattle the cage, and close if nobody wants to keep it going labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean up seems abandoned rattle the cage, and close if nobody wants to keep it going
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants