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: just some mild cleanup #2054

Merged
merged 7 commits into from
Nov 7, 2024

Conversation

gaelicWizard
Copy link
Contributor

Description

Simplify a some variable assignments to match improvements to other powerline* themes.

Motivation and Context

Just cleaning up.

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 branch 5 times, most recently from 0949429 to 90a26eb Compare January 24, 2022 19:55
@gaelicWizard gaelicWizard force-pushed the theme/powerline branch 2 times, most recently from ff90b54 to 28e9f5e Compare January 26, 2022 19:44
@gaelicWizard gaelicWizard force-pushed the theme/powerline branch 4 times, most recently from e00e45b to c133f57 Compare February 13, 2022 05:38
- 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...
@gaelicWizard gaelicWizard changed the title theme/powerline: just some mild cleanup DRAFT: theme/powerline: just some mild cleanup Feb 20, 2022
@seefood seefood marked this pull request as ready for review November 7, 2024 12:35
@seefood seefood merged commit 38b600a into Bash-it:master Nov 7, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants