-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
theme/gitline: harmonize powerline.base
file(s)
#2050
base: master
Are you sure you want to change the base?
Conversation
72992bc
to
b7e8434
Compare
powerline.base
file(s)
824a4f4
to
6e37d22
Compare
3641796
to
fe5528f
Compare
why wouldnt we remove the duplication here altogether? how different is |
It adds hardcoded foreground colors to nearly every prompt segment. By harmonizing the files, I can see the ~15 or so differences that are different very easily. But, I don't have enough experience with the power line themes to be confident about making substantive changes. The goal is definitely to remove the duplicate file, but only after making sure we're not losing capability or breaking anything. Besides, this alsö adds several possible segments to gitline that were previously not available. |
fe5528f
to
ffffc32
Compare
`theme/gitline` appears to have copied an older(?) version of `powerline/powerline.base`. I'd like to eliminate the duplicate, so this is the first step. - Add functions from `powerline/powerline.base` to `gitline/powerline.base`. These functions are NOT hooked up yet. - Bring `__powerline_left_segment()` and `__powerline_prompt_command()` closer together. - handle unbound parameters - fix `$POWERLINE_COMPACT` behavior to consistently match documentation - local some variables
- set default `$POWERLINE_PROMPT`
ffffc32
to
0cee7ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems legit in general, can you please merge it with master so we can make sure it passes the tests smoothly?
Description
Change
theme/gitline/powerline.base
andtheme/powerline/powerline.base
to match more closely. Alsö, linttheme/gitline
.Motivation and Context
Of all the powerline-based themes,
theme/gitline
had a whole copy ofpowerline.base.bash
. By updating them to match more closely, we may be able to eliminate the duplicate file in the future.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
Checklist:
clean_files.txt
and formatted it usinglint_clean_files.sh
.